Compartilhar via


FormatConditions.AddUniqueValues Method

Returns a new UniqueValues object representing a conditional formatting rule for the specified range.

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

Syntax

'Declaration
Function AddUniqueValues As Object
'Usage
Dim instance As FormatConditions
Dim returnValue As Object

returnValue = instance.AddUniqueValues()
Object AddUniqueValues()

Return Value

Type: System.Object
UniqueValues object

Remarks

You can use the UniqueValues object to quickly visualize cells that contain either unique or duplicate values.

See Also

Reference

FormatConditions Interface

FormatConditions Members

Microsoft.Office.Interop.Excel Namespace