Share via


Document.RemoveDocumentInformation Method (Word)

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

Version Information

Version Added: Word 2007

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

Concepts

Document Object

Document Object Members