I am in the process of learning ColdFusion and I am trying to work with spreadsheets using spreadsheetFormatRows(spreadsheetObject, dataFormat, rangeOfRowsFormated)
How can I set the range to include all of the rows, except the header row, which is for column name? Is there a function that returns the number of the rows on cfspreadsheet object, so I can set the range to '2-rowCount'?
I tried spreadsheetFormatRows(theSheet, headerFormat, 2-50);
and works fine and formats rows 2 to 50, but I don't want to have that hard-coded.
Thank you in advance.