DisplayFormat.NumberFormat Property (Excel)

Returns a value that represents the format code of the associated Range object as it is displayed in the current user interface. Read-only.

Version Information

Version Added: Excel 2010

Syntax

expression .NumberFormat

expression A variable that represents a DisplayFormat object.

Return Value

Variant

Remarks

This property returns Null if all cells in the specified range do not have the same number format.

See Also

Concepts

DisplayFormat Object

DisplayFormat Object Members