Version Ref: 6.1 (USP 6.0.02)
Syntax:
e = XL_PROTECTSHEET(sheet, password)
Add a password to restrict editing of a sheet.
Parameters -
sheet : Handle to sheet to protect. Use blank, "0", or "-1" to use
the default sheet.
password : Password to use to protect this sheet.
Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
the last error.