Name
xlsx.GetColumnCount -- get number of worksheet columns
Synopsis
cols = xlsx.GetColumnCount(id[, idx])
Function
This function returns the number of columns in the worksheet that is at the index specified by idx in the XLSX document. If the idx argument is omitted, the default worksheet set using xlsx.SetDefaultSheet() will be used. Worksheet indices start at 1 for the first worksheet.

Inputs
id
identifier of the XLSX document to use
idx
optional: index of worksheet to query (defaults to the index of the default worksheet)
Results
rows
number of columns in the specified worksheet

Show TOC