Copying data from several excel files

MrEngineerUK

New Member
Joined
Jun 2, 2011
Messages
8
Hello. Is it possible to copy data from multiple excel files into one excel file? I have 30 excel files in one folder. Each file has 8 worksheets. I want to copy just one worksheet from each file into one master excel file. Worksheet number 5 to be exact. One slight complication; the worksheets in each excel file have the same name, so somehow need to slightly change the worksheet name as it is copied into the master excel file, maybe using the file name? I want each worksheet from each individual excel file, to be copied into a new worksheet in the master excel file. So the end result, one excel file, 30 worksheets. Is this possible? Would appreciate any hints on how to tackle this problem. It would save me so much time from doing it manually. Thanks in advance for any assistance.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Thanks very much for the suggestions. While it doesn't give me exactly what I wanted as it puts all the data from the separate files in one worksheet, I can still use the data so for now it will keep me going. Thanks a lot!
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,463
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top