jim may
Well-known Member
- Joined
- Jul 4, 2004
- Messages
- 7,486
On a newly created sheet I include formulas in Column V. I need to Highlight ALL cells where the formula produces "DUP TRANS"... the following 2 lines are not acheiving this. How can I alter them to acheive my goal?
TIA,
Jim
TIA,
Jim
Code:
'****************************************
Range("V:V").FormatConditions.Delete
Range("V2:V" & LR).FormatConditions.Add Type:=xlExpression, Formula1:= _
"=$V2=""DUP TRANS"""
'****************************************