Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.ConditionalFormat.SetCustomNumFormat
Sets a custom number format.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.ConditionalFormat.SetCustomNumFormat"; bookRef; ConditionalFormatRef; customNumFormat ) More
Parameters
Parameter | Description | Example |
---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
ConditionalFormatRef | The reference number for the conditional format. | $ConditionalFormat |
customNumFormat | The custom format text. |
Result
Returns OK or error.
Description
Sets a custom number format.The format string customNumFormat indicates how to format and render the numeric value of a cell. See custom format strings guidelines.
https://www.libxl.com/custom-format.html
See also
- XL.ConditionalFormat.GetCustomNumFormat
- XL.ConditionalFormat.GetNumFormat
- XL.ConditionalFormat.SetNumFormat
- XL.LoadBook
Created 30th March 2024, last changed 30th March 2024
XL.ConditionalFormat.SetBorderTopColor - XL.ConditionalFormat.SetFillPattern
