Use this method to rename an existing worksheet in the current spreadsheet document.
CALL METHOD spreadsheet->set_sheet_name
EXPORTING oldname = oldname
newname = newname
no_flush = no_flush
IMPORTING error = error
retcode = retcode.
Description of parameters
Parameter |
Optional |
Description |
oldname |
A type C field containing the current name of the worksheet you want to rename | |
newname |
A type C field containing the new name of the worksheet |