Skip to main content

Set column width

Set the width of one or more columns, in characters as Excel shows it.

Command in the Excel toolkit · id ooa.excel/set_column_width · 5 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
ColumnAnyYesColumn letter or 1-based number of the first column.
CountNumberNo1How many columns.
WidthNumberYesWidth in characters (Excel's default is 8.43); 0 hides the columns.
SheetStringNoSheet name; active sheet when empty.
SessionStringNoexcelWorkbook session.