ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   counting colored cells (https://www.excelbanter.com/excel-discussion-misc-queries/201649-counting-colored-cells.html)

Shane K

counting colored cells
 
I am working on a scheduling program. I want to use color in the cells
representing the hour and continue the color through the duration of the day
for example if an employee comes in at 9am and leaves at 5pm I wanted to
color the cells from 9-5. With that I wanted to count for a total the number
of cells colored so I may end up with a total hours used for the day with all
employees


Barb Reinhardt

counting colored cells
 
This should help you.
--
HTH,
Barb Reinhardt




"Shane K" wrote:

I am working on a scheduling program. I want to use color in the cells
representing the hour and continue the color through the duration of the day
for example if an employee comes in at 9am and leaves at 5pm I wanted to
color the cells from 9-5. With that I wanted to count for a total the number
of cells colored so I may end up with a total hours used for the day with all
employees


Dave Peterson

counting colored cells
 
Barb might have meant this site from Chip Pearson:

http://www.cpearson.com/excel/colors.aspx
Look for the CountColor function.

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

Barb Reinhardt wrote:

This should help you.
--
HTH,
Barb Reinhardt

"Shane K" wrote:

I am working on a scheduling program. I want to use color in the cells
representing the hour and continue the color through the duration of the day
for example if an employee comes in at 9am and leaves at 5pm I wanted to
color the cells from 9-5. With that I wanted to count for a total the number
of cells colored so I may end up with a total hours used for the day with all
employees


--

Dave Peterson

satadru

counting colored cells
 
Could you please provide the link to the solution? It appears missing.

"Barb Reinhardt" wrote:

This should help you.
--
HTH,
Barb Reinhardt




"Shane K" wrote:

I am working on a scheduling program. I want to use color in the cells
representing the hour and continue the color through the duration of the day
for example if an employee comes in at 9am and leaves at 5pm I wanted to
color the cells from 9-5. With that I wanted to count for a total the number
of cells colored so I may end up with a total hours used for the day with all
employees



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com