Vba code to compile data from multiple spreadsheets to one spreadsheet

xtr3m3dud3

New Member
Joined
Jul 8, 2013
Messages
26
Hello,

Can some one help me with a VBA code through which I can compile data from multiple spreadsheets into a single spreadsheet. So, what I would prefer is that the code when run would ask me to define path from which it will start compiling. And while compiling, it would also take care of the duplicate entries (similar to the option like - "copy and keep both the files" in case the filename is same - high probability!!!)

Also, will it be possible that I get an option to compile data from the entire spreadsheet or from a particular tab....

Thank you in advance :)
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Andrew,

I just wanted to say Thank You for this. I came to the board today looking for a solution to a similar problem, and was thrilled to find something that worked perfectly for me. Now my brain is racing, thinking of all the other ways I can put this to use!
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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