FormatCondition.NumberFormat Property

Excel Developer Reference

Returns or sets the number format applied to a cell if the conditional formatting rule evaluates to True. Read/write Variant.

Version Information
Version Added: Excel 2007



expression A variable that represents a FormatCondition object.


The number format is specified using the same format codes displayed on the Number tab of the Format Cells dialog box. You can use a built-in number format, for example "General", or create a custom number format.

See Also