Professional Documents
Culture Documents
' Exports comments from a MS Word document to Excel and associates them with the
heading paragraphs
' they are included in. Useful for outline numbered section, i.e. 3.2.1.5....
' Thanks to Graham Mayor, http://answers.microsoft.com/en-us/office/forum/office
_2007-customize/export-word-review-comments-in-excel/54818c46-b7d2-416c-a4e3-313
1ab68809c
' and Wade Tai, http://msdn.microsoft.com/en-us/library/aa140225(v=office.10).as
px
' Need to set a VBA reference to "Microsoft Excel 14.0 Object Library"
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
xlApp As Excel.Application
xlWB As Excel.Workbook
i As Integer, HeadingRow As Integer
objPara As Paragraph
objComment As Comment
strSection As String
strTemp
myRange As Range
20
On Error GoTo 0
End Function