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.
Target Platforms: Windows 10, 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
Workbook Class
Workbook Members
HasProtectionPassword Property
Protection Property
WorkbookProtection Class
Protect(Boolean,Boolean) Method
Protect(String,Boolean,Boolean) Method
Protect(SecureString,Boolean,Boolean) Method
Unprotect Method
Unprotect(String) Method
Unprotect(SecureString) Method