Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default One more and I'll finish this complicated macro

I need the code to paste from G5 all the way to the bottom of the row...
However, sometimes it has 250 rows, sometimes 260ect.. This is the last
sticking point to finish this...
Just in case anyones intrested and likes to think outside the box here is
what I'm doing.... and loves to hear others say it can't be done...

I open a file and import the coulmns into a compile worksheet
As I filter dates and if it less then it's green. If it more than it's
red... This has to be done for six cells. Then you have six coulmns that
represent a week. Only one of those six coulmns has data... Then six cells
go into one cell.. Thanks to a vlookup. However, you can't retain the cell
color... So I filter more than and less than and rename them using visible
cells only to sale R (as in red) then From sale G (as in green) The vlookup
causes the cells to loose thier background color... So I then do a find sale
R and color it red and find sale G and color it green... then do afind and
replace sale R with sale and a find replace sale g with sale...
Anyway... It's a lot but it works. If I can solve the last question...
Thanks,
DJ
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default One more and I'll finish this complicated macro

determine your last row with something like
lr=cells(rows.count,"a").end(xlup).row
then use autofill method (good example in vbe help)

--
Don Guillett
SalesAid Software

"Duncan_J" wrote in message
...
I need the code to paste from G5 all the way to the bottom of the row...
However, sometimes it has 250 rows, sometimes 260ect.. This is the last
sticking point to finish this...
Just in case anyones intrested and likes to think outside the box here is
what I'm doing.... and loves to hear others say it can't be done...

I open a file and import the coulmns into a compile worksheet
As I filter dates and if it less then it's green. If it more than it's
red... This has to be done for six cells. Then you have six coulmns that
represent a week. Only one of those six coulmns has data... Then six

cells
go into one cell.. Thanks to a vlookup. However, you can't retain the cell
color... So I filter more than and less than and rename them using visible
cells only to sale R (as in red) then From sale G (as in green) The

vlookup
causes the cells to loose thier background color... So I then do a find

sale
R and color it red and find sale G and color it green... then do afind and
replace sale R with sale and a find replace sale g with sale...
Anyway... It's a lot but it works. If I can solve the last question...
Thanks,
DJ



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
Macro start and finish date from rows Marylou Excel Worksheet Functions 16 August 17th 09 02:58 PM
Complicated chart, not sure how to finish it! jinfanti Charts and Charting in Excel 1 September 3rd 08 09:30 AM
Need Help with Complicated Array Macro Jaime Excel Discussion (Misc queries) 1 August 27th 08 10:05 PM
HELP with complicated macro JackR Excel Discussion (Misc queries) 0 March 20th 06 07:00 PM
How do I do this complicated macro??? tweacle Excel Worksheet Functions 1 March 4th 06 05:00 PM


All times are GMT +1. The time now is 11:16 AM.

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"