RowCount Property
RowCount
Gets or sets the row count of the worksheet.
This value represents the current number of rows available in the worksheet.
Declaration
int RowCount { get; set; }
Property RowCount As Integer
Examples
worksheet.RowCount = 20;
int rowCount = worksheet.RowCount;