Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

XL.Book.SetTemplate

Sets the template flag.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XL 7.2 Yes Yes Yes Yes Yes

MBS( "XL.Book.SetTemplate"; bookRef )

Parameters

Parameter Description Example value
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref

Result

Returns OK or error.

Description

Sets the template flag.
Pass 1 for workbook is template, 0 for workbook is not template (default).
It allows to change type of file from a template file (xlt and xltx) to a regular file (xls and xlsx) and vice versa.

See also


XL.Book.SetRefR1C1   -   XL.Book.SheetCount

Feedback: Report problem or ask question.




Links
MBS FileMaker blog