Compartilhar via


Método Worksheet._Protect

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

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

Sintaxe

'Declaração
Sub _Protect ( _
    Password As Object, _
    DrawingObjects As Object, _
    Contents As Object, _
    Scenarios As Object, _
    UserInterfaceOnly As Object _
)
void _Protect(
    Object Password,
    Object DrawingObjects,
    Object Contents,
    Object Scenarios,
    Object UserInterfaceOnly
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

Worksheet Interface

Namespace Microsoft.Office.Tools.Excel