XL.Sheet.GetFooter
------------------

Returns the footer text of the sheet when printed.

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

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

**MBS**( **"XL.Sheet.GetFooter";** /\* Returns the footer text of the sheet when printed. \*/  
**$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 text or error.

### Description

Returns the footer text of the sheet when printed.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetProtect](XLSheetGetProtect.md)
- [XL.Sheet.GetVCenter](XLSheetGetVCenter.md)
- [XL.Sheet.GetZoom](XLSheetGetZoom.md)
- [XL.Sheet.SetBorder](XLSheetSetBorder.md)
- [XL.Sheet.SetFooter](XLSheetSetFooter.md)
- [XL.Sheet.SetHeader](XLSheetSetHeader.md)
- [XL.Sheet.SetPaper](XLSheetSetPaper.md)
- [XL.Sheet.SetProtect](XLSheetSetProtect.md)
- [XL.Sheet.SetVCenter](XLSheetSetVCenter.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[XL.Sheet.GetFirstRow](XLSheetGetFirstRow.md) - [XL.Sheet.GetFooterMargin](XLSheetGetFooterMargin.md)

[HTML Version](XLSheetGetFooter.shtml)