Hi All,
I have, what I think, is simple problem. But for the life of me I cannot work out the logic.
I have a simple list of 24 birth dates in column A, A1 to A24, formatted as dd mmm yyyy.
In Column B, I have the corresponding dates, formatted as just mm. Just giving the month number.
I would like the dates cells in column A to alternate colours, say light green and darker green, based on each month.
I used conditional formatting initially and it worked fine as long as there was a date in each month.
However, if there there are, for example, no dates in April, then March and May are the same light colour.
I've tried For-Next loops in VBA but cannot work it out successfully.
If someone could point me in the right direction I would be very gratefull.
Thanks
Bookmarks