Partager via


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

Implements

_Workbook.Protect(Object, Object, Object)

See Also

Reference

WorkbookClass Class

WorkbookClass Members

Microsoft.Office.Interop.Excel Namespace