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

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)
