Hi Everyone,
I'm coming up against a tricky problem, hoping someone can shed a little light for me. I've got conditional formatting on a sheet which highlights cells where data does not meet certain validation criteria (i.e. age is greater than realistic maximum, or one event's date is later than another one which it can't logically be). I'd like to have VBA check the (CF'd) RGB of each cell, and as per below, if there are 192,0,0 dark red cells (errors) to do thing 'A', else if there are only amber (warnings) 255,192,0 then provide option 'B'.
I've been playing around with VBA:
The problem is that it seems like the code above ignores the CF cell colours and only pays attention to the underlying (and overridden with CF) cell colour, so this is falling flat at the moment.Please Login or Register to view this content.
Any help would be massively appreciated.
Thanks
Bookmarks