Collate multiple Excel files into one worksheet

DrPudding

New Member
Joined
Aug 20, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I have multiple files that are the exact same data format, all the same columns but different data, and I want to be able to select all of these files and get them to all compile into one file in one worksheet. As they all have the same headings they would just need to be copied one below the other.

This is a simple manual process, but I will need to do this regularly with sometimes 20 or more files at a time.

Is there a way I can automate this with VBA?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
if all excel files are in the same folder try Power Query with From Folder option then Append feature if necessary
 
Upvote 0
Just had a Google of power query, and this is the exact perfect tool for what I need. Thank you muchly for your suggestion.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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