Unprotect Method (IWorksheet)
Unprotects the sheet which is protected by password.
'Declaration
Function Unprotect( _
ByVal As String _
) As Boolean
'Usage
Dim instance As IWorksheet
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 sheet.
Return Value
true
if the sheet is unprotected successful, false
otherwise.