LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Count the number of times a cell is colored with conditional formatting

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


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.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count the number of times a cell in a column is shaded green Jack_Feeman Excel Discussion (Misc queries) 6 July 19th 07 09:42 PM
Count the number of times a cell value is within a specific range Everett Excel Worksheet Functions 4 September 2nd 06 10:54 PM
How do I count the number of times a letter is used in a cell? jsrawlings Excel Discussion (Misc queries) 5 June 28th 06 02:02 AM
Count number of times a specific number is displayed in a cell ran subs Excel Worksheet Functions 1 June 27th 05 05:01 PM
Count the number of times a cell is colored with conditional formatting DrSues02[_2_] Excel Programming 3 October 20th 04 02:08 PM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"