Hello,
I am trying to create a VBA code that will affect all cells from J2 to BZ1000.
Column I shows the revised milestone date
COlumn G shows the % complete
COlumn F shows the RAG status
Column J to BZ show a calendar (one week per column).
I have 4 conditions:
=IF(J3<$I3,0,IF($G3<1,AND($F3="G",ISNUMBER(J3)),0)) then J3 colour should be green
=IF(J3<$I3,0,IF($G3<1,AND($F3="A",ISNUMBER(J3)),0)) then J3 colour should be amber
=IF(J3<$I3,0,IF($G3<1,AND($F3="R",ISNUMBER(J3)),0)) then J3 colour should be red
=IF G3=100%, then J3 colour should be blue.
Any idea how to repsent this in VBA code please?
Thanks so much!
A:)
Configuration: Windows XP Internet Explorer 6.0
Access provides for conditional formatting without the messy CASE SELECT or IF-THEN statements. For an excellent review, look at http://msdn.microsoft.com/en-us/library/aa139965(office.10).aspx |