klyn.io.xlsx.Worksheet.setColumn
method
public setColumn(range as String, width as Int) as Void:
Description

Sets the width of a column range.

Parameters
ParameterDescription
rangeColumn range such as A:A or A:C.
widthExcel column width.
Throws
  • XlsxException if the range is invalid.
Example
sheet = Worksheet("Data")
sheet.setColumn("A:C", 20)