Jetformat

Hide a row in an Excel worksheet

Use jetformat excel hide-row to hide a row in an Excel worksheet.

By Jetformat

Use a 1-based row number. Hidden rows remain in the workbook, so this is a presentation change rather than a data-deletion operation.

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 hide-row finance.xlsx --sheet Summary --row 2 -o hidden.xlsx

Options for this task

Option Meaning
--output Output XLSX path (required)
--row 1-based row number
--sheet Worksheet name (required)

Check the result

Inspect the workbook in a viewer and confirm the intended row is hidden without shifting adjacent row numbers.

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

See the excel command reference for the surrounding workflow.

Last updated