Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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



Community Additions

Show:
© 2014 Microsoft