Good Afternoon all,
I am attmepting to search for a file based on user input and wildcards. The file I am looking for is saved every 30 minutes with its name based on date and time.
Example: DateTimecampdata.csv
The last part of the file name campdata.csv is always the same. I want the file that is run at the end of the day, after 22:00. It is always ran within the same 15 minute window. So the file name will always be Date then whatever time it ran, then campdata.csv. I would like to be able to have the user search by whatever Date they need. I would like an Application.InputBox to pop asking them to enter the date then it would search the directory for that day's EoD file. I tried this code and it would not return any results:
Any help would be greatly appreciated.Please Login or Register to view this content.
Bookmarks