Share via


IWorkbookExtension.UnprotectDocument Method

Called by the Visual Studio Tools for Office runtime to give developers an opportunity to remove password protection from the workbook in a document-level project and enable cached data to be saved.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Sub UnprotectDocument
void UnprotectDocument()

Remarks

For more information about this method, see WorkbookBase.UnprotectDocument.

.NET Framework Security

See Also

Reference

IWorkbookExtension Interface

Microsoft.Office.Tools.Excel Namespace