Autofit columns
Make columns just wide enough for their contents, like double-clicking a column border in Excel.
Command in the Excel toolkit · id ooa.excel/autofit_columns · 4 inputs, 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Column | Any | No | Letter or 1-based number of the first column; every used column when empty. | |
| Count | Number | No | 1 | How many columns from the first one. |
| Sheet | String | No | Sheet name; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
Outputs
| Output | Type | What it is |
|---|---|---|
| count | Number | Number of columns resized. |