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
  • range Column range such as `A:A` or `A:C`.
  • width Excel column width.
Throws
  • XlsxException if the range is invalid.
Example
sheet = Worksheet("Data")
sheet.setColumn("A:C", 20)