TFlxConsts.Max_Rows Property
Maximum row in the spreadsheet. (0 based). Note that this number is 1 less than the maximum row count, because this value is 0-based. You can use MaxRowCount to get the number of columns instead.
This number might be 65535 if TExcelFile.ExcelVersion is TExcelVersion.v97_2003 or 1048575 otherwise.
Syntax
Unit: FlexCel.Core
property TFlxConsts.Max_Rows: Integer