SpreadsheetGear 2017
Unprotect Method (IWorkbook)






SpreadsheetGear Namespace > IWorkbook Interface : Unprotect Method
The password which was used to protect the workbook (ignored if the workbook was protected without a password).
Disables protection for the workbook with the specified password.
Syntax
'Declaration
 
Sub Unprotect( _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As IWorkbook
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 workbook (ignored if the workbook was protected without a password).
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

IWorkbook Interface
IWorkbook Members
Protect Method
ProtectStructure Property
ProtectWindows Property
ProtectContents Property
Protect Method
Unprotect Method