xl
xl copied to clipboard
Iterate the sheets
I would like to iterate all the sheets in a workbook. something like:
for sheet in workbook.sheets:
.... do something....
the workbook has a sheets seq, but it is not marked 'public'
XlWorkbook* = ref object
## Represent a workbook.
contents: Table[string, XlObject]
sheets: seq[XlSheet]
Is there any reason why the property sheets in XlWorkbook is private? Or may I just change that (and create a 'pr')? Thx