Jetformat

Add an empty worksheet to Excel

Use jetformat excel add-sheet to add an empty worksheet to Excel.

By Jetformat

Supply a new worksheet name that is distinct from existing sheet names. The new worksheet is visible and starts empty.

Steps

  1. Start with a local XLSX. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat excel add-sheet finance.xlsx --name Extra -o finance-updated.xlsx

Options for this task

Option Meaning
--name New sheet name
--output Output XLSX path (required)

Check the result

Run excel inspect on the output and confirm the sheet is present before writing its first cells.

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 add-sheet --help to compare options with your installed version.

See the excel command reference for the surrounding workflow.

Last updated