Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Writes a formula and value in a cell.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XL 6.5 Yes Yes Yes Yes Yes
MBS( "XL.Sheet.CellWriteFormulaText"; bookRef; sheetIndex; Row; Column; Formula; Value { ; Format } )   More


Parameter Description Example value
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
Row The row for the cell. First row has index 0. $row
Column The column for the cell. First column has index 0. $column
Formula The new formula to write. "1+2"
Value The text value to put in cell. "3"
Format Optional
The format for the cell. This is index from 0 to XL.GetFormatCount-1 in the book's list of formats.


Returns OK or error.


Writes a formula and value in a cell.
The value should be the current result, so there is something to display without calculating.

See also

Blog Entries

Created 7th October 2016, last changed 22nd April 2017

XL.Sheet.CellWriteFormulaNumber   -   XL.Sheet.CellWriteFormulas

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins