Skip to main content

Range.FormatConditions property

Table of contents
  1. Syntax
  2. Example

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



expression A variable that represents a Range object.


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

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>