Spread Windows Forms 12.0 Product Documentation
Unprotect Method (IWorkbook)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorkbook Interface : Unprotect Method
A string value that denotes the case-sensitive password to use to unprotect workbook.
Unprotects the workbook which is protected by password.
Syntax
'Declaration
 
Function Unprotect( _
   Optional ByVal password As String _
) As Boolean
'Usage
 
Dim instance As IWorkbook
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 workbook.

Return Value

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

Reference

IWorkbook Interface
IWorkbook Members