rename_sheet
Rename an existing Excel worksheet in an .xlsx file. Formulas referencing the old sheet name are not updated, so update them manually.
Instructions
Rename an existing sheet.
Warning: This tool does NOT automatically update formula references in other sheets. Formulas depending on the old sheet name will break.
Args: path: Path to the .xlsx file, or the name of a preloaded file. Omit if only one file is configured. old_name: Current name of the sheet. new_name: New name for the sheet (1-31 chars, valid Excel sheet name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| backup | No | ||
| new_name | Yes | ||
| old_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||