Version

Protected Property

Gets or sets the value which indicates whether the workbook is protected.
Syntax
'Declaration
 
<System.ObsoleteAttribute("The Protected property has been deprecated. The IsProtected property will return the current protected state. The Protect and Unprotect methods are used to change the protection state.")>
Public Property Protected As System.Boolean
[System.ObsoleteAttribute("The Protected property has been deprecated. The IsProtected property will return the current protected state. The Protect and Unprotect methods are used to change the protection state.")]
public System.bool Protected {get; set;}

Property Value

The value which indicates whether the workbook is protected.
Remarks

If True, prevents changes to worksheet and to locked cells.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub