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