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"

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.