Copy data from Specific files to a worksheet

subhalahha

New Member
Joined
Feb 21, 2015
Messages
2
I am new to VBA and need your help. I have an Excel 2013 file (Name: Master Database) which have 3 sheets (Data 1, Data 2 & Data 3). I also have 5 different Excel files with same names (Data 1, Data 2, Data 3, Data 4 & Data 5) and all these files are saved in same folder (Folder path and name will differ every day).
I want a macro to perform the following tasks:
1. Browse the folder.
2. Copy details from Data 1, Data 2 and Data 3 files (without opening the files) and paste it in my Master Database file as per name of the sheets.
 

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