View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
dot[_2_] dot[_2_] is offline
external usenet poster
 
Posts: 2
Default Change cells color & cells contains if formula

I'm new to excel vba. I'm tried out the vba code for changing cells
color but it don't work if my cells contains a if formula (eg. all
cells in cloumn A contain =if(and(b1="Rej",c1="Rej"),"Rej",....). Any
idea what should be the code?