PC Review


Reply
Thread Tools Rate Thread

Copying from dynamic workbooks

 
 
drinese18
Guest
Posts: n/a
 
      20th Feb 2008
Does anyone know of a way to copy from a workbook that is constantly updated
everyday, the thing a new workbook is created everyday based on a date, what
I would like to do is to create a macro that would copy the data from the
most recent workbook. For instance if todays workbook to copy from is labeled
2008-0218, then I would like it to copy all the data within that to a master
workbook, then the next day comes and a new workbook is created labeled
2008-0219, I want to copy from that one as well and it goes on everyday. I
don't want to delete the data that is already there, just to append to whats
already there, so if anyone know's of a way to do this, any help would b
appreciated.
 
Reply With Quote
 
 
 
 
Birgit
Guest
Posts: n/a
 
      21st Feb 2008
Hi!
I imagine you could search up from the bottom of each worksheet until you
find a row that contains content (this is easier/quicker if you know
something is inside the first 20 columns or so). Then you can paste in the
last row without content.

Use dir to find the newest workbook in the folder.

HTH,
Birgit


"drinese18" <(E-Mail Removed)> schreef in bericht
news:383F75CF-25F7-44C1-BC08-(E-Mail Removed)...
> Does anyone know of a way to copy from a workbook that is constantly
> updated
> everyday, the thing a new workbook is created everyday based on a date,
> what
> I would like to do is to create a macro that would copy the data from the
> most recent workbook. For instance if todays workbook to copy from is
> labeled
> 2008-0218, then I would like it to copy all the data within that to a
> master
> workbook, then the next day comes and a new workbook is created labeled
> 2008-0219, I want to copy from that one as well and it goes on everyday. I
> don't want to delete the data that is already there, just to append to
> whats
> already there, so if anyone know's of a way to do this, any help would b
> appreciated.



 
Reply With Quote
 
drinese18
Guest
Posts: n/a
 
      21st Feb 2008
Do you by any chance know how to code it probably, because I want to have it
programmatically do so

"Birgit" wrote:

> Hi!
> I imagine you could search up from the bottom of each worksheet until you
> find a row that contains content (this is easier/quicker if you know
> something is inside the first 20 columns or so). Then you can paste in the
> last row without content.
>
> Use dir to find the newest workbook in the folder.
>
> HTH,
> Birgit
>
>
> "drinese18" <(E-Mail Removed)> schreef in bericht
> news:383F75CF-25F7-44C1-BC08-(E-Mail Removed)...
> > Does anyone know of a way to copy from a workbook that is constantly
> > updated
> > everyday, the thing a new workbook is created everyday based on a date,
> > what
> > I would like to do is to create a macro that would copy the data from the
> > most recent workbook. For instance if todays workbook to copy from is
> > labeled
> > 2008-0218, then I would like it to copy all the data within that to a
> > master
> > workbook, then the next day comes and a new workbook is created labeled
> > 2008-0219, I want to copy from that one as well and it goes on everyday. I
> > don't want to delete the data that is already there, just to append to
> > whats
> > already there, so if anyone know's of a way to do this, any help would b
> > appreciated.

>
>
>

 
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
vlookup in different workbooks with dynamic ranges steph Microsoft Excel Worksheet Functions 6 20th Jul 2009 05:06 PM
VBA help. Select dynamic workbooks. matthewc81@gmail.com Microsoft Excel Programming 5 7th Mar 2008 08:27 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Discussion 0 1st Mar 2006 01:05 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Programming 0 1st Mar 2006 01:05 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Charting 0 1st Mar 2006 01:05 AM


Features
 

Advertising
 

Newsgroups
 


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