Compartilhar via


UniqueValues.NumberFormat Property

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

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 UniqueValues
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 create a custom number format.

See Also

Reference

UniqueValues Interface

UniqueValues Members

Microsoft.Office.Interop.Excel Namespace