WorksheetClass._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, _
    DrawingObjects As Object, _
    Contents As Object, _
    Scenarios As Object, _
    UserInterfaceOnly As Object _
)
'Usage
Dim instance As WorksheetClass
Dim Password As Object
Dim DrawingObjects As Object
Dim Contents As Object
Dim Scenarios As Object
Dim UserInterfaceOnly As Object

instance._Protect(Password, DrawingObjects, _
    Contents, Scenarios, UserInterfaceOnly)
public virtual void _Protect(
    Object Password,
    Object DrawingObjects,
    Object Contents,
    Object Scenarios,
    Object UserInterfaceOnly
)

Parameters

Implements

_Worksheet._Protect(Object, Object, Object, Object, Object)

See Also

Reference

WorksheetClass Class

WorksheetClass Members

Microsoft.Office.Interop.Excel Namespace