Does anyone know how to set a rule using conditional formatting to highlight a cell. I want to use this logic.

If(Range("A1")<>Range("B1"), Highlight Range("A1"))