Combining data from multiple files into one

dolphn22

Board Regular
Joined
Aug 22, 2008
Messages
82
Hi all,

Ever period, our POS report creates a sales file that we can export, but the problem is that it creates one file per store, and I have to manually copy and paste the data from one file to the other to combine them.

My question: Is there a macro I could run that would do this for me? I could keep the file names the same each period if needed. Essentially, is it possible to create a macro to take all of the data in one file and add it to the bottom of another, and repeat with several other files.

I have to admit I am not the best with macros (still learning). If anyone can help here or point in the right direction, it would be greatly appreciated.

Thank You,
Dolphn22
 

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
Each file contains one worksheet, ultimately, I want all worksheets combined to one tab on one file. If i'm not making sense, plesae let me know and I will try and explain it better.

Thanks,
dolphn22
 
Upvote 0

Forum statistics

Threads
1,215,724
Messages
6,126,493
Members
449,316
Latest member
sravya

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