Renee Beacham
New Member
Hello all,
I am attempting to design a macro file which would pull data from other files via vlookup into a scorecard-like excel table.
This is simple enough in theory, however the files which the vlookups would pull from change since they are updated daily.
For example I want to pull days worked for a specific employee from file Days_Worked_3_22_2016.xlsx. This file is refreshed daily and saved in the same folder location with the new date. The next day's file would be Days_Worked_3_23_2016.xlsx.
Is there a way I can write the VBA in order to have the macro pull the data into the scorecard table from changing file names per this pattern?
Thanks,
-Renee
I am attempting to design a macro file which would pull data from other files via vlookup into a scorecard-like excel table.
This is simple enough in theory, however the files which the vlookups would pull from change since they are updated daily.
For example I want to pull days worked for a specific employee from file Days_Worked_3_22_2016.xlsx. This file is refreshed daily and saved in the same folder location with the new date. The next day's file would be Days_Worked_3_23_2016.xlsx.
Is there a way I can write the VBA in order to have the macro pull the data into the scorecard table from changing file names per this pattern?
Thanks,
-Renee