Hello,
I would first just like to say that this community is simply amazing and is teaching ignorant people like me how to use VB on a daily basics to better life at work.
I posted today to achieve the goal of creating a macro that will go to a directory on my server and search for the most recent/last modified excel file (.xls or .xlsx) in a sub folder with a name that match the word/data I put in a specific cell.
I.E.
In cell B5 the word Survey Meter is entered. I press a button attached to the search macro and most recent excel file is opened. For argument sake, the server directory would be like Z:\Equipment\Calibrations\Survey Meter\ there would then be several excel files listed at 6 month interval for the past couple of years. Only the current/most recently modified file is valid so I would only want to open this.
Best Regards,
Andy
I would first just like to say that this community is simply amazing and is teaching ignorant people like me how to use VB on a daily basics to better life at work.
I posted today to achieve the goal of creating a macro that will go to a directory on my server and search for the most recent/last modified excel file (.xls or .xlsx) in a sub folder with a name that match the word/data I put in a specific cell.
I.E.
In cell B5 the word Survey Meter is entered. I press a button attached to the search macro and most recent excel file is opened. For argument sake, the server directory would be like Z:\Equipment\Calibrations\Survey Meter\ there would then be several excel files listed at 6 month interval for the past couple of years. Only the current/most recently modified file is valid so I would only want to open this.
Best Regards,
Andy