SpreadsheetGear 2017
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( _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As IWorksheet
Dim password As System.String
 
instance.Unprotect(password)
void Unprotect( 
   System.string password
)
procedure Unprotect( 
    password: System.String
); 
function Unprotect( 
   password : System.String
);
void Unprotect( 
   System.string* 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
Protect Method
ProtectContents Property
Locked Property
FormulaHidden Property
Protect Method
Unprotect Method
ProtectStructure Property
ProtectWindows Property