LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Help with VBA and Counting Conditionally Formatted Cells

I am trying to count conditionally formatted cells based on how many times specific colors appear between a set amount of cells and rows. I am very new to VBA and Macros and all my research has shown that I will need VBA code to accomplish this and plan on trying to find resources to understand the code instead of just trying to ask someone what the code is but until then....assuming VBA is the only way to go, what would the code be?

-The condition is, if a range 3-10 appears in the cell then it turns red. If a range of 2-1 appears in the cell it turns blue. If a 0 appears then it turns green.

What I am trying to figure out how to do is make the code that will count how many times the conditionally formatting result of being red is appearing between cells A4:E4.

A B C D E
1 3 2 1 0 2

2 1 0 3 1 1

3 2 5 1 3 3

4 1 9 2 2 2

5 1 3 3 3 2



 
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
A UDF for Counting Coloured Cells that are conditionally formatted NeilG New Users to Excel 5 November 1st 09 12:45 AM
Conditionally Formatted Cells amy Excel Discussion (Misc queries) 1 February 23rd 08 07:28 AM
Selecting cells that have been conditionally formatted [email protected] Excel Discussion (Misc queries) 8 October 16th 06 10:37 AM
Counting conditionally formatted cells Kebbon Excel Worksheet Functions 2 October 12th 06 01:48 PM
Counting a colour that is Conditionally Formatted Crash[_2_] Excel Programming 4 November 9th 03 06:03 PM


All times are GMT +1. The time now is 08:25 PM.

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"