Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Can this be done

I have a cell range (D3:J39)
Top row has monday to sunday and first column has different jobs to be done.
now i used colored cells to show the start of a project and another color to signify the end of a project.
can i use VBA to pick out all the colors from the start of a project and display them in a column in a new sheet

Cheers in advance

J
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can this be done

Dim cell as Range, rw as Long
rw = 0
for each cell in Range("D3:J39")
if cell.ColorIndex = 6 then
rw = rw + 1
With Worksheets("Sheet2")
.Cells(rw,1) = cells(cell.Row,"D").Value
.Cells(rw,2) = cell.Value
End With
end if
Next

Might be a start.

--
Regards,
Tom Ogilvy


"Jonathan" wrote in message
...
I have a cell range (D3:J39)
Top row has monday to sunday and first column has different jobs to be

done.
now i used colored cells to show the start of a project and another color

to signify the end of a project.
can i use VBA to pick out all the colors from the start of a project and

display them in a column in a new sheet

Cheers in advance

J



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can this be done

I have found some interesting stuff regarding colors at
this site http://www.cpearson.com/excel/topic.htm


-----Original Message-----
I have a cell range (D3:J39)
Top row has monday to sunday and first column has

different jobs to be done.
now i used colored cells to show the start of a project

and another color to signify the end of a project.
can i use VBA to pick out all the colors from the start

of a project and display them in a column in a new sheet

Cheers in advance

J
.

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



All times are GMT +1. The time now is 06:15 AM.

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"