PicoXLSX Library Documentation
![]() | WorksheetGetLastAddress Method |
Gets the last existing row or column number of the current worksheet (zero-based)
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
private int GetLastAddress( bool column )
Parameters
- column
- Type: SystemBoolean
If true, the output will be the last column, otherwise the last row
Return Value
Type: Int32Last row or column number (zero-based)
