Workbook.RemoveDocumentInformation method (Excel)

Removes all information of the specified type from the workbook.

Syntax

expression.RemoveDocumentInformation (RemoveDocInfoType)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data type Description
RemoveDocInfoType Required XlRemoveDocInfoType Type of information to be removed.

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.