[]
Gets or sets the 0-based end column index.
For a range reference, this property stores the last column in the range. If the reference is not a range, it returns the same value as Column. If the range does not contain column information, it returns the maximum worksheet column index.
public int LastColumn { get; set; }
Public Property LastColumn As Integer
Reference reference = new Reference();
reference.Column = 1;
reference.LastColumn = 3;
int lastColumn = reference.LastColumn;