void=sheetProtection(protect: boolean)
The function locks the sheet.

Parameters
Protect 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 - Authorware
CallObject(xls; "setActiveSheet" ; 1) 
CallObject(xls; "sheetProtection"; false)