Spread Windows Forms 12.0 Product Documentation
Unprotect Method (IWorksheet)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorksheet Interface : Unprotect Method
A string value that denotes the case-sensitive password to use to unprotect worksheet.
Unprotects the worksheet which is protected by password.
Syntax
'Declaration
 
Function Unprotect( _
   ByVal password As String _
) As Boolean
'Usage
 
Dim instance As IWorksheet
Dim password As String
Dim value As Boolean
 
value = instance.Unprotect(password)
bool Unprotect( 
   string password
)

Parameters

password
A string value that denotes the case-sensitive password to use to unprotect worksheet.

Return Value

true if the worksheet is unprotected successful, false otherwise.
See Also

Reference

IWorksheet Interface
IWorksheet Members