void=sheetProtection(protect: boolean)
The function locks the sheet.
ParametersProtect is a logical variable defining whether the sheet is locked or open. For protect=true the sheet is locked, for protect=false it is open.
Example - Director
xls.setActiveSheet(1)
xls.sheetProtection(false)
Example - AuthorwareCallObject(xls; "setActiveSheet" ; 1)
CallObject(xls; "sheetProtection"; false)