WorkbookClass.Protect Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Overridable Sub Protect ( _
Password As Object, _
Structure As Object, _
Windows As Object _
)
'Usage
Dim instance As WorkbookClass
Dim Password As Object
Dim Structure As Object
Dim Windows As Object
instance.Protect(Password, Structure, _
Windows)
public virtual void Protect(
Object Password,
Object Structure,
Object Windows
)
Parameters
- Password
Type: System.Object
- Structure
Type: System.Object
- Windows
Type: System.Object
Implements
_Workbook.Protect(Object, Object, Object)