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


In This Topic
Unprotect Method (Workbook)
In This Topic
Unprotects the workbook which is protected by password.
Syntax
'Declaration
 
Public Function Unprotect( _
   Optional ByVal password As String _
) As Boolean
 
'Usage
 
Dim instance As Workbook
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