This documentation is archived and is not being maintained.

_Worksheet.Protection Property 

Returns a Protection object that represents the protection options of the worksheet.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim _Worksheet1 As _Worksheet

Dim returnValue As Protection
returnValue = _Worksheet1.Protection

Protection Protection {get;}
public Protection get_Protection();
function get Protection() : Protection;

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: