FormatCondition.NumberFormat property (Excel)
Returns or sets the number format applied to a cell if the conditional formatting rule evaluates to True. Read/write Variant.
Syntax
expression.NumberFormat
expression A variable that represents a FormatCondition object.
Remarks
The number format is specified using the same format codes displayed on the Number tab of the Format Cells dialog box. Use a built-in number format (for example "General"
) or create a custom number format.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.