Document.RemoveDocumentInformation method (Word)

Removes sensitive information, properties, comments, and other metadata from a document.

Syntax

expression. RemoveDocumentInformation( _RemoveDocInfoType_ )

expression An expression that returns a Document object.

Parameters

Name Required/Optional Data type Description
RemoveDocInfoType Required WdRemoveDocInfoType Specifies what to remove.

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.