Evening Ppl,
I am working on a Excel VBA assignment which involves accessing a directory which has around 2500 files and displaying the filename, date created & date modified based on a search criteria.
To be more clear, i have well formed file names in that folder and the last 4 characters in the file name are DDMM (date and month)
TEST0806.csv
TEST0803.csv
TEST0802.csv
TEST0801.csv
ANSWER0806.csv
ANSWER0803.csv
ANSWER0802.csv
ANSWER0801.csv
I would have files for two weeks in this folder. My program should fetch the files for today and yesterday from this folder, for the specified "TYPE", meaning TEST, ANSWER etc.,
I have tried using the FSO method, it works but it is very slow. I tried using DIR() method, even this works but it does not give me the date created or date modified values.
Can any of the experts in this forum suggest me a faster solution to this problem
Thanks
Raja