[]
Returns the zero based row number of the last row of the first range.
int LastRow { get; }
ReadOnly Property LastRow As Integer
| Type | Description |
|---|---|
| int | The row. |
IRange range = worksheet.Range["B2:C3"];
int lastRow = range.LastRow;