Can you regonise a coloured cell in a formula?

J

Jim

In Excel 2007 i am trying to find a formula that would be able to regonise if
a cell was shaded in a paticualar colour, green and purple, and count how
many there were for a specific month.
The coloured cells are in cloumn 2 and the month number is in column AO.

Is this possible?

Thanks for any assistance offered.
 
D

Don Guillett

sub checkcolor()' put in your desired color number
if activecell.interior.colorindex=6 then msgbox "c"
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top