I am trying to include in my macro a line of code to open files that I save down daily into a folder. The issue is that everyday they have the same static name, but then have DDMonYYYY-# at the end. Is there a way to make the code dynamic enough to find and open these folders? I would only need for the current day so maybe the today() function can be leveraged on the main sheet I have open to run the macro?
For Example: the Files are saved to C:\Documents\ with the below names
ACCOUNTNUM0 - Account Summary Extract - XXXXXXX - 24Dec2013-0.xls
ACCOUNTNUM1 - Account Summary Extract - XXXXXXX - 24Dec2013-1.xls
ACCOUNTNUM2 - Account Summary Extract - XXXXXXX - 24Dec2013-2.xls
Or is there another solution to open these and re-save without the date at the end?
Bookmarks