UniqueValues.NumberFormat Property (Excel)

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

Syntax

expression .NumberFormat

expression A variable that represents a UniqueValues object.

Remarks

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

Concepts

UniqueValues Object Members

UniqueValues Object