DisplayFormat.NumberFormat Property

Definition

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

public:
 property System::Object ^ NumberFormat { System::Object ^ get(); };
public object NumberFormat { get; }
Public ReadOnly Property NumberFormat As Object

Property Value

The format code of the associated Range object as it is displayed in the current user interface.

Remarks

Read-only.

This property returns a null reference (Nothing in Visual Basic) if all cells in the specified range do not have the same number format.

Applies to