This documentation is archived and is not being maintained.

Workbook.RemoveDocumentInformation Method

Office 2007
Removes all information of the specified type from the workbook.

Version Information
 Version Added:  Excel 2007

Syntax

expression.RemoveDocumentInformation(RemoveDocInfoType)

expression   A variable that represents a Workbook object.

Parameters

NameRequired/OptionalData TypeDescription
RemoveDocInfoTypeRequiredXlRemoveDocInfoTypeType of information to be removed.

Remarks

The following table lists the XlRemoveDocInfoType constants

  • xlRDIAll
  • xlRDIComment
  • xlRDIContentType
  • xlRDIDefinedNameComments
  • xlRDIDocumentManagementPolicy
  • xlRDIDocumentProperties
  • xlRDIDocumentServerProperties
  • xlRDIDocumentWorkspace
  • xlRDIEmailHeader
  • xlRDIInactiveDataConnections
  • xlRDIInkAnnotations
  • xlRDIlPublishInfo
  • xlRDIRemovePersonalInformation
  • xlRDIRoutingSlip
  • xlRDIScenarioComments
  • xlRDISendForReview



Show: