Click or drag to resize
PicoXLSX

WorksheetGetLastDataRowNumber Method

Gets the last existing row number with data in the current worksheet (zero-based)

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
public int GetLastDataRowNumber()

Return Value

Int32
Zero-based row number. in case of an empty worksheet, -1 will be returned.
See Also