XL.Sheet.GetPrintRepeatRows
---------------------------

Gets repeated rows on each page from rowFirst to rowLast.

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

MBS( "XL.Sheet.GetPrintRepeatRows"; BookRef; SheetIndex; Selector ) 

**MBS**( **"XL.Sheet.GetPrintRepeatRows";** /\* Gets repeated rows on each page from rowFirst to rowLast. \*/  
**$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 \*/   
**$Selector**) /\* Which value to return. Can be "rowFirst" or "rowLast".e.g. "rowFirst" \*/ 

### 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 |
| Selector | Which value to return. Can be "rowFirst" or "rowLast". | "rowFirst" |

### Result

Returns value or error.

### Description

Gets repeated rows on each page from rowFirst to rowLast.   
Returns error if repeated rows aren't found.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.ClearPrintRepeats](XLSheetClearPrintRepeats.md)
- [XL.Sheet.GetPrintRepeatCols](XLSheetGetPrintRepeatCols.md)
- [XL.Sheet.SetPrintRepeatCols](XLSheetSetPrintRepeatCols.md)
- [XL.Sheet.SetPrintRepeatRows](XLSheetSetPrintRepeatRows.md)

This function checks for a license.

Created 6th May 2015 , last changed 6th May 2015

  
[XL.Sheet.GetPrintRepeatCols](XLSheetGetPrintRepeatCols.md) - [XL.Sheet.GetPrintRow](XLSheetGetPrintRow.md)

[HTML Version](XLSheetGetPrintRepeatRows.shtml)