Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting cells with a specific fill color

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Counting cells with a specific fill color


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?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Counting cells with a specific fill color

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
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
Counting specific formatted cells Tazzy Excel Discussion (Misc queries) 4 December 5th 06 06:41 PM
counting cells that contain a specific value Ed Cain New Users to Excel 2 September 4th 06 02:09 PM
I am trying to color fill a cell based on specific criteria jglen Excel Discussion (Misc queries) 1 May 27th 05 05:30 PM
Excel 2003 will not display color fonts or color fill cells DaveC Excel Worksheet Functions 1 April 11th 05 04:38 PM
My excel 2003 wont let me fill cells with color or color the tabs. trizog New Users to Excel 2 February 22nd 05 06:43 PM


All times are GMT +1. The time now is 04:00 PM.

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"