Partager via


AboveAverage.NumberFormat Property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property NumberFormat As Object
    Get
    Set
'Usage
Dim instance As AboveAverage
Dim value As Object

value = instance.NumberFormat

instance.NumberFormat = value
Object NumberFormat { get; set; }

Property Value

Type: System.Object
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 [createacustomnumberformat#CrossCollection].

See Also

Reference

AboveAverage Interface

AboveAverage Members

Microsoft.Office.Interop.Excel Namespace