Parameters
- locks
- A WorksheetLocks value indicates which data will be protected.
- password
- A string that specifies a case-sensitive password for the sheet.
Return Value
true
if the sheet is protected successful, false
otherwise.true
if the sheet is protected successful, false
otherwise.