Hi Team.
Perhaps this silly question has been asked and resolved once before but I could not find it anywhere but nevertheless I will appreciate your help as always. I am trying to figure out an efficient way to write a vba to copy all data from within daily files in a folder (the daily files will begin with 01 for January and 02 for February and etcetera) into a new template file. The daily files reside in two seperate folders but the vba copies all files with 01 in the file name into the template.
The goal is to create monthly consolidated data out of the daily files. I will essentially run this vba once a month to consolidate all the data in the daily files into one template. So next month, I will run the vba for all files in both folders that has 10 in the file name for October.
Any help will greatly be appreciated.
Perhaps this silly question has been asked and resolved once before but I could not find it anywhere but nevertheless I will appreciate your help as always. I am trying to figure out an efficient way to write a vba to copy all data from within daily files in a folder (the daily files will begin with 01 for January and 02 for February and etcetera) into a new template file. The daily files reside in two seperate folders but the vba copies all files with 01 in the file name into the template.
The goal is to create monthly consolidated data out of the daily files. I will essentially run this vba once a month to consolidate all the data in the daily files into one template. So next month, I will run the vba for all files in both folders that has 10 in the file name for October.
Any help will greatly be appreciated.