Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Book.AddFormatFromBook

Copies a format definition.

Component Version macOS Windows Linux Server iOS SDK
XL 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.AddFormatFromBook"; bookRef; otherBookRef; Format )   More

Parameters

Parameter Description Example
bookRef The reference to the destination workbook. $book
otherBookRef The reference to the source workbook. $book2
Format The index of an existing format in the source book which you want to use as a template. 0

Result

Returns index of new format or error.

Description

Copies a format definition.
Takes an existing format definition in one document and creates a new format in destination document by copying the properties.

See also

Release notes

Blog Entries

This function checks for a license.

Created 3th April 2021, last changed 3th April 2021


XL.Book.AddFormat - XL.Book.AddPictureContainer