XL.ConditionalFormat.GetCustomNumFormat
---------------------------------------

Queries custom format string.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [14.2](newinversion142.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.ConditionalFormat.GetCustomNumFormat"; BookRef; ConditionalFormatRef ) 

**MBS**( **"XL.ConditionalFormat.GetCustomNumFormat";** /\* Queries custom format string. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$ConditionalFormatRef**) /\* The reference number for the conditional format.e.g. $ConditionalFormat \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| ConditionalFormatRef | The reference number for the conditional format. | $ConditionalFormat |

### Result

Returns text or error.

### Description

Queries custom format string.   
### See also

- [XL.ConditionalFormat.GetNumFormat](XLConditionalFormatGetNumFormat.md)
- [XL.ConditionalFormat.SetCustomNumFormat](XLConditionalFormatSetCustomNumFormat.md)
- [XL.ConditionalFormat.SetNumFormat](XLConditionalFormatSetNumFormat.md)

Created 30th March 2024 , last changed 30th March 2024

  
[XL.ConditionalFormat.GetBorderTopColor](XLConditionalFormatGetBorderTopColor.md) - [XL.ConditionalFormat.GetFillPattern](XLConditionalFormatGetFillPattern.md)

[HTML Version](XLConditionalFormatGetCustomNumFormat.shtml)