Merging excel files of same name from different folders into a master file

Status
Not open for further replies.

contactm77

New Member
Joined
Aug 9, 2010
Messages
6
I want to merge files of same name stored in different folders .All folders are stored at common directory path for e.g. C:/my documents/data. This then has all subfolders which contain excel sheets of same name. For e.g. extract.xls stored in folder 1, folder 2, folder 3.
Structure of extract.xls file is: each file has same five tabs (worksheets- named tab1, tab2, tab3., tab4, tab5). Each tab has data spread between columns A until CZ (which is max column name). The data stored within each tab varies - so number of rows would change for each tab under each file. The actual data starts from row 7 in all tabs but cells A1 until C3 has some information which is not required to be copied in master file.

I need to copy data stored in one tab (e.g. tab1) of one file (extract.xls under folder 1) into a master file (which is stored at common path) which will have same tab name. Underneath this data I need to copy data from tab1 for second file (extract.xls stored at folder 2). I need to do something but not aware of VB macros.
Please can you help?

Thanks,
MK
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,206
Office Version
  1. 365
Platform
  1. Windows
Status
Not open for further replies.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,400
Messages
5,831,413
Members
430,066
Latest member
rajd72

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
Top