Gets the index of the last column in a specified range of cells within a sheet.
public int LastColumn { get; }
The index of the last column in the cell range.
The LastColumn property provides the index of the last column in a cell range, adhering to zero-based indexing, where the spreadsheet's first column is indexed as 0.