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
128
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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Zot

Well-known Member
Joined
Nov 26, 2020
Messages
1,174
Office Version
  1. 2016
Platform
  1. Windows
There are many sites and even YouTube videos on this. I think this is the best for your task.

 
Solution

saraapple

Board Regular
Joined
Feb 3, 2020
Messages
128
Office Version
  1. 2010
Platform
  1. Windows
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 :)
 

Zot

Well-known Member
Joined
Nov 26, 2020
Messages
1,174
Office Version
  1. 2016
Platform
  1. Windows
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 😁
 

Watch MrExcel Video

Forum statistics

Threads
1,130,122
Messages
5,640,243
Members
417,131
Latest member
Seanr19871

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
Top