I was wondering if there was a way that i could perform a load from an xls file based on its created date?
Currently, we load from an xls based on the filename, here is how i have done it..
Let vOORFilename = 'C:\qvd\Test_'&LEFT(TODAY(),2)&MID(TODAY(),4,2)&'.xls';
That looks for an xls with a filename of Test_todays date (Date/Month).
That works well for us apart from when the xls has failed to get generated over the weekend. This means that on a Monday we have to re run the xls for each day it has failed (usually Sat/Sun/Mon) then reload our application 3 times, changing the filenames of the xls's each time to ensure they are all loaded in.
I was hoping for a way to load in the 3 xls's the same time so the script will look for the file created date and if more than 1 is present then it would loop through them until all have been read in.