Comments to Text

R

Ross from Orlando

Use Word 2007. Someone sent me a document with several comments (using
Word's comment feature). What I'd like to do, if possible, is to
convert all the comments to text, to appear in the document in the
places with the corresponding comment markers. And if the text could
be in red font, so much the better. Any ideas? Thanks,

Ross
 
S

Stefan Blom

The following macro should do the trick:

Sub InlineComments()
Dim c As Comment
Dim r As Range
For Each c In ActiveDocument.Comments
Set r = c.Reference.Duplicate
r.InsertAfter "[" & c.Range.Text & "]"
r.Font.Color = wdColorRed
c.Delete
Next c
End Sub

If you need assistance with the macro, see
http://www.gmayor.com/installing_macro.htm.
 
R

Ross from Orlando

The following macro should do the trick:

Sub InlineComments()
Dim c As Comment
Dim r As Range
For Each c In ActiveDocument.Comments
Set r = c.Reference.Duplicate
r.InsertAfter "[" & c.Range.Text& "]"
r.Font.Color = wdColorRed
c.Delete
Next c
End Sub

If you need assistance with the macro, seehttp://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP



Use Word 2007. Someone sent me a document with severalcomments(using
Word's comment feature). What I'd like to do, if possible, is to
convert all thecommentstotext, to appear in the document in the
places with the corresponding comment markers. And if thetextcould
be in red font, so much the better. Any ideas? Thanks,
Ross- Hide quotedtext-

- Show quotedtext-

This works great, thanks so much.

Ross
 
S

Stefan Blom

I'm glad I could help!

--
Stefan Blom
Microsoft Word MVP



The following macro should do the trick:

Sub InlineComments()
Dim c As Comment
Dim r As Range
For Each c In ActiveDocument.Comments
Set r = c.Reference.Duplicate
r.InsertAfter "[" & c.Range.Text& "]"
r.Font.Color = wdColorRed
c.Delete
Next c
End Sub

If you need assistance with the macro,
seehttp://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP

message

Use Word 2007. Someone sent me a document with severalcomments(using
Word's comment feature). What I'd like to do, if possible, is to
convert all thecommentstotext, to appear in the document in the
places with the corresponding comment markers. And if thetextcould
be in red font, so much the better. Any ideas? Thanks,
Ross- Hide quotedtext-

- Show quotedtext-

This works great, thanks so much.

Ross
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top