How do I export a list of markup comments to a word document?

D

Doug Robbins

If you run a macro containing the following code when the document with the
comments is the active document, it will create a new document into which it
will insert each comment.

Dim source As Document, target As Document, acomment As Comment
Set source = ActiveDocument
Set target = Documents.Add
For Each acomment In source.Comments
target.Range.InsertAfter acomment.Range.Text & vbCr
Next acomment

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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