Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

XL.Sheet.GetText

Queries the text of a sheet in a workbook.

Component Version macOS Windows Linux Server iOS SDK
XL 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.GetText"; bookRef; Index { ; Flags } )   More

Parameters

Parameter Description Example Flags
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
Index The index of the sheet you want to query text. Value can be 0 to XL.Book.SheetCount-1. $index
Flags Various flags.
Whether to return formulas as text.
If you pass 1 here, the formulas will be returned instead of their result.
Add 2 to return rich text cells as rich text instead of plain text.
0 Optional

Result

Returns text of sheet.

Description

Queries the text of a sheet in a workbook.
Numbers are formatted as floating point numbers with dot as decimal separator.
Boolean values are returned as FALSE or TRUE.

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 12nd May 2023


XL.Sheet.GetTabColorRGB - XL.Sheet.GetTopLeftView

💬 Ask a question or report a problem