SpreadsheetGear 2023
Unprotect Method (IWorksheet)

SpreadsheetGear Namespace > IWorksheet Interface : Unprotect Method
The password which was used to protect the worksheet.
Disables protection for the worksheet with the specified password.
Sub Unprotect( _
   Optional ByVal password As System.String _
Dim instance As IWorksheet
Dim password As System.String
void Unprotect( 
   System.string password


The password which was used to protect the worksheet.

Target Platforms: 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


IWorksheet Interface
IWorksheet Members
ProtectContents Property
Protect Method
Protection Property
ProtectDrawingObjects Property
ProtectScenarios Property
Locked Property
FormulaHidden Property
ProtectStructure Property
ProtectWindows Property
Protect Method
Unprotect Method