Version

IsProtected Property (Workbook)

Returns a boolean indicating if the Workbook has been protected.
Syntax
'Declaration
 
Public ReadOnly Property IsProtected As System.Boolean
public System.bool IsProtected {get;}
Remarks

The IsProtected property will return true if the Workbook is currently protected. When a Workbook is protected certain operations related to the Worksheets displayed or their order or the properties of the windows for the Workbook may be restricted based on the values of the Protection.

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