Count the number of times a cell is colored with conditional formatting

  • Thread starter Thread starter DrSues02
  • Start date Start date
D

DrSues02

What if I have logic that is different for several of the cells in the
row?

There isn't a VBA way to come up with a count for cells highlighted by
conditional formatting?

DrSues02
 
What if I have logic that is different for several of the cells in the

You have to count the cells colored via each of your logical expressions and
add the totals together.
There isn't a VBA way to come up with a count for cells highlighted by
conditional formatting?

No, there isn't. There's a cell property that returns the interior color, but
it returns the color the cell would have if there were no conditional
formatting.
 
You really don't have to understand Chip's code to use it.

But he wouldn't have written it if there was a built in way to determine the
color.
 

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

Back
Top