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.Book.SetCalcMode

Sets the current calculation mode.

Component Version macOS Windows Linux Server iOS SDK
XL 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.SetCalcMode"; bookRef; Mode )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
Mode The new calculation mode.
Can be 0 for manual, 1 for auto and 2 for auto without data tables.
1

Result

Returns OK or error.

Description

Sets the current calculation mode.
Can be 0 for manual, 1 for auto and 2 for auto without data tables.

Examples

Sets calculation mode to auto:

Set Variable [ $r ; Value: MBS( "XL.Book.SetCalcMode"; $bookRef; 1 ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th April 2020, last changed 9th November 2021


XL.Book.SetActiveSheet - XL.Book.SetDate1904

💬 Ask a question or report a problem