NamedRange::FormatConditions Property

 

Gets a FormatConditions collection that represents all the conditional formats for the NamedRange control.

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

property FormatConditions^ FormatConditions {
	FormatConditions^ get();
}

Property Value

Type: Microsoft.Office.Interop.Excel::FormatConditions^

A FormatConditions collection that represents all the conditional formats for the NamedRange control.

The following code example creates a NamedRange and then uses the FormatConditions property to alter the font in the NamedRange if the value in the NamedRange is less than the value of cell A1.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: