Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Macro to copy active worksheet from multiple Excel files into 1 fi

Good evening,

This may be on the forums already but i must be searching for it wrong if it
is.

A daily Excel file is placed into a folder. I'd like to have the worksheet
from all the files within that folder to be copy/pasted into a new workbook.

Example, each file has a worksheet named ABCcurrent date. I want the new
file/workbook to contain it all, ABC092208, ABC092308, ABC092408, etc. This
would save alot of manual labor.

Thank you for any support you can provide.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Macro to copy active worksheet from multiple Excel files into 1 fi

G'day Versace

Here's what you need:

http://www.rondebruin.nl/copy6.htm

Copy/paste the code into a module and change to suit.

HTH
Mark.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Macro to copy active worksheet from multiple Excel files into

Mark, thanks for the quick reply.

After looking at the link you provided I think it's focusing on something
different. The link shows how to 'create a workbook from every sheet in your
workbook'.

I'm looking at having the active sheet from many many workbooks located in
one folder copied into a new workbook so that i now have one workbook
containing all the sheets that were located, separately in the other folder.

Example: Folder C:\Data contained 50 Excel files. Each excel file contains
1 worksheet title ABCcurrentdate. I'm looking for a macro to open or copy
each of the 50 worksheets from the 50 files and place them into 1 new
workbook so that this new work book now contains 50 sheets.

Again, thanks Mark for your reply.

Many thank to anyone that can assist.

"NoodNutt" wrote:

G'day Versace

Here's what you need:

http://www.rondebruin.nl/copy6.htm

Copy/paste the code into a module and change to suit.

HTH
Mark.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Macro to copy active worksheet from multiple Excel files into

Oops!

If, as you say each workbook contains the same you want to copy into 1 then
go for this one

http://www.rondebruin.nl/copy3.htm

Regards
Mark.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Macro to copy active worksheet from multiple Excel files into

Very cool Mark, thanks for the assist!

Mike

"NoodNutt" wrote:

Oops!

If, as you say each workbook contains the same you want to copy into 1 then
go for this one

http://www.rondebruin.nl/copy3.htm

Regards
Mark.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Macro to copy active worksheet from multiple Excel files into

Your Welcome


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Macro to copy active worksheet from multiple Excel files into 1 fi

Hi Versace !! :)
You can open all the daily Excel files in your
folder, if you know the file names.The rest of the solution is rather simple.
You can copy-move the particular sheets fromall the files to your new
workbook. This is done by checking all the sheets in the daily Excel file to
find the sheet to copy.

I hope this will help you !

Vijay

"Versace77" wrote:

Good evening,

This may be on the forums already but i must be searching for it wrong if it
is.

A daily Excel file is placed into a folder. I'd like to have the worksheet
from all the files within that folder to be copy/pasted into a new workbook.

Example, each file has a worksheet named ABCcurrent date. I want the new
file/workbook to contain it all, ABC092208, ABC092308, ABC092408, etc. This
would save alot of manual labor.

Thank you for any support you can provide.

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 to copy active worksheet to new workbook Macca Excel Discussion (Misc queries) 1 May 25th 08 02:07 PM
VB macro to load/copy/paste multiple files into one spreadsheet. [email protected] Excel Programming 0 March 24th 06 10:56 AM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
How do I edit a worksheet and copy to multiple files? artex Excel Discussion (Misc queries) 0 August 31st 05 11:08 PM
Copy worksheet from multiple files in one DIR to another DIR & rename Mike Taylor Excel Programming 1 July 13th 03 03:28 PM


All times are GMT +1. The time now is 11:43 PM.

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"