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.
Syntax
'Declaration
 
Sub Unprotect( _
   Optional ByVal password As System.String _
) 
'Usage
 
Dim instance As IWorksheet
Dim password As System.String
 
instance.Unprotect(password)
void Unprotect( 
   System.string password
)

Parameters

password
The password which was used to protect the worksheet.
Requirements

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

Reference

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