_Workbook.RemoveDocumentInformation Method
Removes all information of the specified type from the workbook.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub RemoveDocumentInformation ( _
RemoveDocInfoType As XlRemoveDocInfoType _
)
'Usage
Dim instance As _Workbook
Dim RemoveDocInfoType As XlRemoveDocInfoType
instance.RemoveDocumentInformation(RemoveDocInfoType)
void RemoveDocumentInformation(
XlRemoveDocInfoType RemoveDocInfoType
)
Parameters
RemoveDocInfoType
Type: Microsoft.Office.Interop.Excel.XlRemoveDocInfoTypeOne of the XlRemoveDocInfoType values indicating the type of information to be removed.