'Declaration Public Function SetProtect( _ ByVal protect As Boolean, _ ByVal password As String _ ) As Boolean
Parameters
- protect
- The boolean value that specifies whether to protect or unprotect spread.
- password
- The password to protect or unprotect spread.
Return Value
True, if successful; otherwise, false.