NamedRange::FormatConditions Property
Gets a FormatConditions collection that represents all the conditional formats for the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
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.
Show: