L
Lynne
Hello, folks,
There is a very nice macro that was posted here by Cindy Meister (THANK YOU,
CINDY!) that goes through a commented document and lists all its comments in
a separate document. Is there a way to tweak it to get it to show the user
IDs along with their comments?
We are using Word 2003 and Word 2007 (in Compatability Mode).
Here is Cindy's macro:
Sub ListCommentsInDoc()
Dim cmt As Word.Comment
Dim docSource As Word.Document
Dim docTarget As Word.Document
Dim rng As Word.Range
Set docSource = ActiveDocument
Set docTarget = Documents.Add
Set rng = docTarget.Range
rng.Text = "Comments in " & docSource.FullName & vbCr
rng.Style = wdStyleHeading1
rng.Collapse wdCollapseEnd
rng.Style = wdStyleNormal
For Each cmt In docSource.Comments
rng.Text = cmt.Range.Text & vbCr & vbC4
rng.Collapse wdCollapseEnd
Next
End Sub
Any help, greatly appreciated.
-Lynne
There is a very nice macro that was posted here by Cindy Meister (THANK YOU,
CINDY!) that goes through a commented document and lists all its comments in
a separate document. Is there a way to tweak it to get it to show the user
IDs along with their comments?
We are using Word 2003 and Word 2007 (in Compatability Mode).
Here is Cindy's macro:
Sub ListCommentsInDoc()
Dim cmt As Word.Comment
Dim docSource As Word.Document
Dim docTarget As Word.Document
Dim rng As Word.Range
Set docSource = ActiveDocument
Set docTarget = Documents.Add
Set rng = docTarget.Range
rng.Text = "Comments in " & docSource.FullName & vbCr
rng.Style = wdStyleHeading1
rng.Collapse wdCollapseEnd
rng.Style = wdStyleNormal
For Each cmt In docSource.Comments
rng.Text = cmt.Range.Text & vbCr & vbC4
rng.Collapse wdCollapseEnd
Next
End Sub
Any help, greatly appreciated.
-Lynne