Importing Data from multiple files into Corresponding Sheets in one Masterfile

JoJoNob

New Member
Joined
Aug 23, 2018
Messages
1
Hey! I really nob in VBA and I feel that this is something fairly easy to do but I can't find an answer on my search.

I have around 20 files from different teams, each one with different sheets but they all have exactly the same layout. I need to import data from one sheet from each file to copy it into one masterfile.
I have 7 masterfiles, each masterfile has a sheet for each team that belongs to that department. I want to copy the data from each of the 20 files into the corresponding sheet in the correct master file.

Basically I need a macro where I can define the destination of a folder where the files to include in each masterfile are, and say that from file 1 sheet exp I want to copy B17 to AF10016 into Masterfile sheet 1; file 2 sheet exp copy from B17 to AF10016 into masterfile sheet 2 and so on...

Thank you in advance!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,178
Latest member
Emilou

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