XL.Sheet.CellReadStyledText
---------------------------

Reads a styled text value from a cell.

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

MBS( "XL.Sheet.CellReadStyledText"; BookRef; SheetIndex; Row; Column ) 

**MBS**( **"XL.Sheet.CellReadStyledText";** /\* Reads a styled text value from a 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 \*/   
**$Row**; /\* The row for the cell. First row has index 0. \*/   
**$Column**) /\* The column for the cell. First column has index 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 |
| Row | The row for the cell. First row has index 0. | $row |
| Column | The column for the cell. First column has index 0. | $column |

### Result

Returns text or error.

### Description

Reads a styled text value from a cell.  
### Examples

Read styled text:

 Set Variable \[ $sheet ; Value: 0 \]   
Set Variable \[ $row ; Value: 2 \]   
Set Variable \[ $col ; Value: 3 \]   
Set Variable \[ $text ; Value: MBS ( "XL.Sheet.CellReadStyledText"; $bookRef ; $sheet ; $row ; $col ) \]   
Set Field \[ XL::StyledTExt ; $text \]  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.CellIsStyledText](XLSheetCellIsStyledText.md)
- [XL.Sheet.CellReadText](XLSheetCellReadText.md)
- [XL.Sheet.CellWriteStyledText](XLSheetCellWriteStyledText.md)

### Release notes

- **Version 13.5**
    - Changed [XL.Sheet.CellReadStyledText](https://www.mbsplugins.eu/XLSheetCellReadStyledText.shtml) function to fall back to [XL.Sheet.CellReadText](https://www.mbsplugins.eu/XLSheetCellReadText.shtml) for non styled cells.
- **Version 10.2**
    - Added [XL.Sheet.CellIsStyledText](https://www.mbsplugins.eu/XLSheetCellIsStyledText.shtml), [XL.Sheet.CellReadStyledText](https://www.mbsplugins.eu/XLSheetCellReadStyledText.shtml) and [XL.Sheet.CellWriteStyledText](https://www.mbsplugins.eu/XLSheetCellWriteStyledText.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.5pr1](https://www.mbsplugins.de/archive/2023-09-26/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [LibXL for FileMaker with extras](https://www.mbsplugins.de/archive/2021-03-02/LibXL_for_FileMaker_with_extra/monkeybreadsoftware_blog_filemaker)
- [News about the MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-19/News_about_the_MBS_FileMaker_P/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-12/Neues_MBS_FileMaker_Plugin_102/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-05-12/MBS_FileMaker_Plugin_102_-_Mor/monkeybreadsoftware_blog_filemaker)
- [Use formatted text in Excel files with FileMaker and LibXL](https://www.mbsplugins.de/archive/2020-04-23/Use_formatted_text_in_Excel_fi/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.2pr4](https://www.mbsplugins.de/archive/2020-04-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2025, Seite 28](https://filemaker-magazin.de/neuigkeit/4282-Appetithappen-FMM_202501)
- [Ausgabe 5/2022, Seite 23](https://filemaker-magazin.de/neuigkeit/4196-Appetithappen-FMM_202205)

This function checks for a license.

Created 18th April 2020 , last changed 19th April 2020

  
[XL.Sheet.CellReadNumbers](XLSheetCellReadNumbers.md) - [XL.Sheet.CellReadText](XLSheetCellReadText.md)

[HTML Version](XLSheetCellReadStyledText.shtml)