Macro to open files in a set folder and copy the data from a specific tab to a master

saraapple

Board Regular
Joined
Feb 3, 2020
Messages
165
Office Version
  1. 2010
Platform
  1. Windows
I am trying to take data from individual files in a folder and copy them to a master document.
This is because my data has been recorded in a new work book for each day then saved to a folder by month - I need the data all in one sheet so I can study 12 months worth of files!
I know there has to be a better way than opening them one by one - but my attempts to do this cant get me past locating the folder where the individual workbooks are, and the requirement to open different workbook names.
Any help would be greatly appreciated, finding a way to do this could potentially save me days/weeks of work! :)
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
There are many sites and even YouTube videos on this. I think this is the best for your task.

 
Upvote 0
Solution
Thank you so much for the recommendation the article covers exactly what I need, in fact its better than what I wanted as it can be adapted for so many different things.
Huge thanks for taking the time to point me in the right direction :)
 
Upvote 0
Thank you so much for the recommendation the article covers exactly what I need, in fact its better than what I wanted as it can be adapted for so many different things.
Huge thanks for taking the time to point me in the right direction :)
Glad it helps and I did not have to invent new tire ?
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,284
Members
448,885
Latest member
LokiSonic

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