Copying data from multiple worksheets of Multiple files into master file

RPM1979

New Member
Joined
Jul 8, 2016
Messages
15
Hi Friends,

I have multiple excel files stored in a folder. In each of said excel file, there are various multiple worksheets with data.

I have a master file containing multiple worksheets. I need a macro so that for each of the worksheet in master file, the macro goes to a predefined excel file and then copies the specified worksheet data in the master file.

There are approx 30 worksheets in Master file and i need to repeat above process for each worksheet, since this being repetitive work i am looking for a macro to assist me.

Eg
Master File >> Worksheet A >> Data to be copied from File 1 worksheet A
Master File >> Worksheet B >> Data to be copied from File 1 Worksheet D
Master File >> Worksheet C >> Data to be copied from File 2 Worksheet B
Mater File >> Worksheet D >> Data to be copied from File 3 Worksheet A
and so on for approx 30 worksheets in Master Excel File

Also the above activity will be repeated each month, so can we also have prompt wherein User will select the folder where misc excel files and master excel file is stored.

Friends hoping for a solution which will assist in reducing my time on a regular manual activity
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
What are the "real" names of the worksheets?
Are they "Worksheet A" etc.? If so, can they be renamed?
What version of Excel is being used?
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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