Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
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?

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

DrSues02


--
DrSues02
------------------------------------------------------------------------
DrSues02's Profile: http://www.excelforum.com/member.php...o&userid=12569
View this thread: http://www.excelforum.com/showthread...hreadid=270702

  #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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Count the number of times a cell is colored with 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.

--
Regards,
Tom Ogilvy


"DrSues02" wrote in message
...

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


--
DrSues02
------------------------------------------------------------------------
DrSues02's Profile:

http://www.excelforum.com/member.php...o&userid=12569
View this thread: http://www.excelforum.com/showthread...hreadid=270702



Reply
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 07:42 AM.

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

About Us

"It's about Microsoft Excel"