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


Copies a font definition.

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


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


Returns new font index or error.


Copies a font definition.
Takes an existing font definition in one document and creates a new font 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.AddFont - XL.Book.AddFormat