XL.Sheet.GetFirstFilledRow
--------------------------

Returns the first row in the sheet that contains a filled cell.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [10.3](newinversion103.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.GetFirstFilledRow"; BookRef; SheetIndex ) 

**MBS**( **"XL.Sheet.GetFirstFilledRow";** /\* Returns the first row in the sheet that contains a filled cell. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**) /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |

### Result

Returns number or error.

### Description

Returns the first row in the sheet that contains a filled cell.  
Link [XL.Sheet.GetFirstRow](XLSheetGetFirstRow.md), but skips first rows without content.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetFirstFilledCol](XLSheetGetFirstFilledCol.md)
- [XL.Sheet.GetFirstRow](XLSheetGetFirstRow.md)
- [XL.Sheet.GetLastFilledCol](XLSheetGetLastFilledCol.md)
- [XL.Sheet.GetLastFilledRow](XLSheetGetLastFilledRow.md)

### Release notes

- **Version 10.3**
    - Added [XL.Sheet.CellWriteTextAsNumber](https://www.mbsplugins.eu/XLSheetCellWriteTextAsNumber.shtml), [XL.Sheet.GetFirstFilledCol](https://www.mbsplugins.eu/XLSheetGetFirstFilledCol.shtml), [XL.Sheet.GetFirstFilledRow](https://www.mbsplugins.eu/XLSheetGetFirstFilledRow.shtml), [XL.Sheet.GetLastFilledCol](https://www.mbsplugins.eu/XLSheetGetLastFilledCol.shtml) and [XL.Sheet.GetLastFilledRow](https://www.mbsplugins.eu/XLSheetGetLastFilledRow.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 10.3pr1](https://www.mbsplugins.de/archive/2020-06-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 26th May 2020 , last changed 7th September 2021

  
[XL.Sheet.GetFirstFilledCol](XLSheetGetFirstFilledCol.md) - [XL.Sheet.GetFirstRow](XLSheetGetFirstRow.md)

[HTML Version](XLSheetGetFirstFilledRow.shtml)