By Jetformat
Confirm the sheet name before writing a new workbook. Deleting a sheet can affect formulas and names in other sheets.
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 remove-sheet finance.xlsx --sheet Extra -o finance-updated.xlsx
Options for this task
| Option | Meaning |
|---|---|
--output |
Output XLSX path (required) |
--sheet |
Sheet name to delete |
Check the result
Inspect the output sheet list and review cross-sheet formulas before replacing the original workbook.
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 remove-sheet --help to compare options with your installed version.
See the excel command reference for the surrounding workflow.