By Jetformat
Width is measured in character units, not pixels. Use it to make a text-heavy column easier to read without changing its values.
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 column-width finance.xlsx --sheet Summary --column A --width 18 -o finance-updated.xlsx
Options for this task
| Option | Meaning |
|---|---|
--column |
Column letter, for example A |
--output |
Output XLSX path (required) |
--sheet |
Worksheet name (required) |
--width |
Width in characters |
Check the result
Read a representative cell to confirm the value is unchanged and review a PDF preview for clipping.
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 column-width --help to compare options with your installed version.
See the excel command reference for the surrounding workflow.