excel » renameSheet(file,worksheet,newName)
Description
This command rename an existing worksheet (worksheet
) in the specified Excel file
to a new name (newName
).
Both the specified file
must not be locked (ie open in Excel program) and the specified worksheet
must exist,
otherwise the corresponding step will result in a FAIL
.
Parameters
- file - the Excel file to rename
- worksheet - name of the worksheet to rename
- newName - the new worksheet name2