Swapnil_Next
New Member
- Joined
- Aug 17, 2014
- Messages
- 6
I want to conditionally format a range of cells where data in a cell in a column is equal to data in corresponding cell in another column.
for example:
if the cell value of A1 is equal to the cell value of G1 then the A1:D1 from range(A1:D6) will get highlighted, and if the cell value of A2 is equal to the cell value of G2 then the A2:D2 from range(A1:D6) will get highlighted.
It works with Conditional Formatting but I want to do it using VBA.
Can anyone help on this?
Thanks in Advance,
Swapnl_Next
for example:
if the cell value of A1 is equal to the cell value of G1 then the A1:D1 from range(A1:D6) will get highlighted, and if the cell value of A2 is equal to the cell value of G2 then the A2:D2 from range(A1:D6) will get highlighted.
It works with Conditional Formatting but I want to do it using VBA.
Can anyone help on this?
Thanks in Advance,
Swapnl_Next