 | WorksheetGetLastCellAddress Method |
Gets the last existing cell in the current worksheet (bottom right)
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic Address? GetLastCellAddress()
Return Value
NullableAddressNullable Cell Address. If no cell address could be determined, null will be returned
RemarksGetLastCellAddress() will not return the last cell with data in any case. If there is a formatted (or with definitions of hidden states, AutoFilters, heights or widths)
but empty cell (or many) after the last cell with data,
GetLastCellAddress() will return the address of this empty cell. Use
GetLastDataCellAddress in this case.
See Also