By Jetformat
Use the current sheet name and a distinct replacement. Downstream scripts using a literal sheet name need updating when the workbook changes.
Steps
- Start with a local XLSX. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat excel rename finance.xlsx --sheet Summary --name Report -o finance-updated.xlsx
Options for this task
| Option | Meaning |
|---|---|
--name |
New sheet name |
--output |
Output XLSX path (required) |
--sheet |
Current sheet name |
Check the result
Inspect the saved workbook and test reads with the new sheet name, then review dependent references.
Notes and limits
Writing an Office document uses one credit per command. See the billing guide for the current rules.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat excel rename --help to compare options with your installed version.
See the excel command reference for the surrounding workflow.