Use this method to change the ‘Protected’ attribute of a range.
CALL METHOD spreadsheet->protect_range
EXPORTING name = name
protect = protect
no_flush = no_flush
IMPORTING error = error
retcode = retcode.
Description of parameters
Parameter |
Optional |
Description |
name |
Name of the range you want to protect | |
protect |
'X' : Range is protected' ' : Range is not protected |