Range.FormatConditions Property (Excel)

Returns a FormatConditions collection that represents all the conditional formats for the specified range. Read-only.

Syntax

expression .FormatConditions

expression A variable that represents a Range object.

Example

This example modifies an existing conditional format for cells E1:E10.

Worksheets(1).Range("e1:e10").FormatConditions(1) _ 
 .Modify xlCellValue, xlLess, "=$a$1"

See Also

Concepts

Range Object Members

Range Object