Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / Unprotect Method
A string value that denotes the case-sensitive password to use to unprotect workbook.


In This Topic
Unprotect Method (IWorkbook)
In This Topic
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)

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