Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Sheet.GetLastFilledRow

Returns the zero-based index of the row after the last row in the sheet that contains a filled cell.

Component Version macOS Windows Linux Server iOS SDK
XL 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.GetLastFilledRow"; bookRef; sheetIndex )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
sheetIndex The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. 0

Result

Returns number or error.

Description

Returns the zero-based index of the row after the last row in the sheet that contains a filled cell.

See also

Release notes

Blog Entries

This function checks for a license.

Created 26th May 2020, last changed 26th May 2020


XL.Sheet.GetLastFilledCol - XL.Sheet.GetLastRow