LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to copy sheets from several files into a new workbook.

Please help. Is too difficult for my Excel knowledge.

I have several excel files that have the same number of sheets (same
name same sequence).
I need to write a macro that loops through them , takes a first sheet
from each of the excel files and copy them into a new file, then takes
a second sheet from each file and does the same.

For example lets say I have File1.xls, File2.xls,File3.xls.
Each of them consists of Sheet1, Sheet2, Sheet3, Sheet4 and Sheet5.
After this macro runs it should create 5 files - Sheet1.xls,
Sheet2.xls, Sheet3.xls, Sheet4.xls, Sheet5.xls each of them containing
3 sheets - one from each of the original files.

Thank you!

 
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 Sheets to new workbook KennyD Excel Discussion (Misc queries) 18 January 31st 10 01:25 PM
workbook sheets into separate files markx Excel Worksheet Functions 1 June 28th 05 04:02 PM
How do I save sheets in a workbook to separate files? Omzala Excel Worksheet Functions 2 January 13th 05 06:23 PM
Import several txt files into separate sheets within 1 workbook Steve[_56_] Excel Programming 0 January 15th 04 10:31 PM
Copy text files into multiple sheets of 1 workbook Steve[_56_] Excel Programming 0 January 14th 04 08:30 PM


All times are GMT +1. The time now is 02:04 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"