PC Review


Reply
Thread Tools Rate Thread

Counting cells with a specific fill color

 
 
Counting Cells With Fill Color
Guest
Posts: n/a
 
      3rd Apr 2008
I read the posts from 7/06 about how to count cells that have a specific fill
color. We are using fill colors in an excel spreadsheet to indicate tasks
that are completed for a project we are working on and we used the code that
was supplied in the posts for 7/07. My problem is, when I close the Excel
spreadsheet and then open the spreadsheet back up, it does not recognize the
name ColorIndex from the VBA code. What we are doing is deleting all the
code and entering it again as if we were doing for the first time. Is there
a way to keep everything so we don't have to keep doing this every time we
open and close the Excel spreadsheet?
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      3rd Apr 2008

You would have to save the workbook in order to save the code.

Also, why would you expect anybody reading your message to know what
"posts from 7/06" and "posts for 7/07" refer to?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Counting Cells With Fill Color"
wrote in message
I read the posts from 7/06 about how to count cells that have a specific fill
color. We are using fill colors in an excel spreadsheet to indicate tasks
that are completed for a project we are working on and we used the code that
was supplied in the posts for 7/07. My problem is, when I close the Excel
spreadsheet and then open the spreadsheet back up, it does not recognize the
name ColorIndex from the VBA code. What we are doing is deleting all the
code and entering it again as if we were doing for the first time. Is there
a way to keep everything so we don't have to keep doing this every time we
open and close the Excel spreadsheet?
 
Reply With Quote
 
Counting Cells With Fill Color
Guest
Posts: n/a
 
      3rd Apr 2008
We have saved the workbook (I have used Excel for several years, and know to
do that). Did you test the code from the post on 'Counting Cells Based On
Formating? It is this code that I am talking about.

As far as your question on how anyone is to know what posts I am talking
about, I am not used to using a discussion group, so please don't be rude to
me while I am learning how to do these things. I rarely need to go find any
information and just discovered this discussion group.

"Jim Cone" wrote:

>
> You would have to save the workbook in order to save the code.
>
> Also, why would you expect anybody reading your message to know what
> "posts from 7/06" and "posts for 7/07" refer to?
> --
> Jim Cone
> San Francisco, USA
> http://www.realezsites.com/bus/primitivesoftware
> (Excel Add-ins / Excel Programming)
>
>
>
> "Counting Cells With Fill Color"
> wrote in message
> I read the posts from 7/06 about how to count cells that have a specific fill
> color. We are using fill colors in an excel spreadsheet to indicate tasks
> that are completed for a project we are working on and we used the code that
> was supplied in the posts for 7/07. My problem is, when I close the Excel
> spreadsheet and then open the spreadsheet back up, it does not recognize the
> name ColorIndex from the VBA code. What we are doing is deleting all the
> code and entering it again as if we were doing for the first time. Is there
> a way to keep everything so we don't have to keep doing this every time we
> open and close the Excel spreadsheet?
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting of cells with a specific color filled Atiq Microsoft Excel Misc 9 12th Mar 2010 04:48 PM
CF to Color-Fill Row B:G w/Specific Text in One of the Cells Dax Arroway Microsoft Excel Worksheet Functions 1 2nd Dec 2009 07:11 PM
Re: CF to Color-Fill Row B:G w/Specific Text in One of the Cells T. Valko Microsoft Excel Worksheet Functions 0 2nd Dec 2009 12:29 AM
Counting cells of a specific color Blue Max Microsoft Excel Worksheet Functions 8 31st Jan 2009 09:56 PM
Counting Cells With A Specific Color gaspard.jouandon@covance.com Microsoft Excel Worksheet Functions 1 5th Dec 2003 03:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:07 PM.