View Single Post
  #1   Report Post  
Jackyl71
 
Posts: n/a
Default How do I identify cell color for comparison?

A coworker tasked me with finding this out:
Either by formula or by code, how can one return the color code for a cell?
What he wants to do is be able to say something to the effect of "IF cell a2
is GREEN, then add a2+b2, ELSE IF cell a2 is RED, then..."

I'm sure the answer to this is in an Excel VB book somewhere, but our
company is too cheap to buy one.

Thanks in advance,
Jackyl71