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

XL.Book.SetCoreProperty

Sets a property.

Component Version macOS Windows Linux Server iOS SDK
XL 15.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.SetCoreProperty"; BookRef; PropertyName; Value )   More

Parameters

Parameter Description Example
BookRef The reference number for the workbook. $ref
PropertyName The name of the property.
Can be Categories, Comments, Constructor, Created, CreatedAsDouble, Creator, LastModifiedBy, Modified, ModifiedAsDouble, RemoveAll, Subject, Tags, or Title.
"Title"
Value The new value.

Result

Returns OK or error.

Description

Sets a property.

Examples

Set title:

Set Variable [ $r ; Value: MBS( "XL.Book.SetCoreProperty"; $book; "Title"; "The title of this Excel file.") ]

See also

Release notes

Blog Entries

Created 25th November 2024, last changed 25th November 2024


XL.Book.SetCalcMode - XL.Book.SetDate1904