Export (0) Print
Expand All
Expand Minimize

How to: Remove All Comments from Documents

NoteNote

Some code examples in this topic use the this or Me keyword or the Globals class in a way that is specific to document-level customizations, or they rely on features of document-level customizations such as host controls. These examples can be compiled only if you have the required applications installed. For more information, see Features Available by Product Combination.

Use the DeleteAllComments method of the Microsoft.Office.Tools.Word.Document to remove all comments from a Microsoft Office Word 2003 document.

To remove all comments from a document

  • Call the DeleteAllComments method of the Microsoft.Office.Tools.Word.Document.

    this.DeleteAllComments();
    
    

See Also

Community Additions

ADD
Show:
© 2015 Microsoft