Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.CellReadFormulas
Reads all the formulas from cells in an area.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.CellReadFormulas"; bookRef; sheetIndex; First row; Last row; First column; Last column { ; Row Delimiter; Column Delimiter } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
First row | The first row to process. First row has index 0. | 3 | |
Last row | The last row to process. First row has index 0. | 6 | |
First column | The first column to process. First column has index 0. | 2 | |
Last column | The last column to process. First column has index 0. | 4 | |
Row Delimiter | The row delimiter for the result. Default is new line character. |
"¶" | Optional |
Column Delimiter | The column delimiter for the result. Default is tab character. |
char(9) | Optional |
Result
Returns list of values or error.
Description
Reads all the formulas from cells in an area.If one cell can’t be read as formula, the value in the result will be empty.
See also
- XL.Book.SheetCount
- XL.LoadBook
- XL.Sheet.CellIsFormula
- XL.Sheet.CellReadBoolean
- XL.Sheet.CellReadBooleans
- XL.Sheet.CellReadComment
- XL.Sheet.CellReadComments
- XL.Sheet.CellReadNumbers
- XL.Sheet.CellReadValues
- XL.Sheet.CellWriteFormulas
Release notes
- Version 8.0
- Added XL.Sheet.CellReadBooleans, XL.Sheet.CellReadComments, XL.Sheet.CellReadDates, XL.Sheet.CellReadFormulas, XL.Sheet.CellReadNumbers, XL.Sheet.CellReadTexts, XL.Sheet.CellWriteBlanks, XL.Sheet.CellWriteBooleans, XL.Sheet.CellWriteComments, XL.Sheet.CellWriteDates, XL.Sheet.CellWriteFormulas, XL.Sheet.CellWriteNumbers, XL.Sheet.CellWriteTexts, XL.Sheet.GetCellErrors, XL.Sheet.GetCellFormats, XL.Sheet.RemoveComments and XL.Sheet.SetCellFormats.
Blog Entries
This function checks for a license.
Created 15th January 2018, last changed 29th January 2023