void=cellProtection(col: integer, row: integer, protect: boolean)
The function locks the cell.

Parameters
Col and row are coordinates of the cell we want to lock. Protect is a logical variable defining whether the cell is locked or open. For protect=true the cell is locked, for protect=false it is open.

Example - Director
xls.setActiveSheet(1)
xls.sheetProtection(false)
xls.setCellInteger(1, 5, 27)
xls.cellProtection(1, 5, false)

Example - Authorware
CallObject(xls; "setActiveSheet" ; 1) 
CallObject(xls; "sheetProtection"; false)
CallObject(xls; "setCellInteger"; 1; 5; 27)
CallObject(xls; "cellProtection("; 1; 5;  false)