How to Print MS Word Comments as a Separate Document with VBA

printing
Imagine you have a MS Word document thousands of pages long, a document with hundreds or thousands of review comments.

If you’d like to see all the comments, together with their comment numbers and author, there is no easy way in Word to do that. Perhaps you’d like to send all the comments as a separate Word file to your team, to comment on the comments, or to save the original list of comments for future reference since the comments will change as your team accepts, edits or rejects the comments.

What if I told you that not only you can publish all the comments in a separate Word file but also publish them in a neat

TABLE and decide on your formatting as well?

Here is the sample Word document with 3 sample comments inserted into it:
Original Word document with comments

Here is how to print these comments as a separate Word document.

(1) Open your Word document that includes all the comments.

(2) Press ALT + F11 to display the VBA editing screen.

(3) Insert a new module by selecting Insert > Module from the menu.

(4) Insert the following subprocedure code in your Code Pane:

Word list of comments

(5) Click the GREEN RUN ARROW on the toolbar, or press F5 key, or select Run > Run Sub/User Form from the menu to run the subprocedure. Microsoft Word will create the following table for you, in a brand new Word document:

Word comment table

Notice that the formatting of table depends on the number with which you end the line “Format:=wdTableFormatList4”. Experiment with different table formats. For example here is the result of “Format:=wdTableFormatList3”:

Word comment table2