[]
Gets or sets the 0-based end row index.
For a range reference, this property stores the last row in the range. If the reference is not a range, it returns the same value as Row. If the reference is a range that does not contain row information, it returns the maximum row index.
public int LastRow { get; set; }
Public Property LastRow As Integer
Reference reference = new Reference();
reference.IsRange = true;
reference.LastRow = 5;
int lastRow = reference.LastRow;