Hi Everyone,
I am struggling with finding a solution to this problem I am having. What I have is a folder with a large number of files inside and a new file is added every 5 minutes. I want to grab all the files that fall in a specific weekly time period and copy all the contents into a new worksheet. For example, I want to pull files from last week so I would need to be able to pull all the files that fall under 1/22-1/28. Ideally, I would be able to change the dates for whatever week I need. The file names have the date and time included like this-"20230202085508" so I was thinking of running through the file names and choosing all the files that include the yyyy-mm-dd that I need but I am not sure if that is the way to go due to the amount of files in the folder. Thank you for anyone who would be able to help with this. This is my first time posting on here so please let me know if there is any information needed that I may have left out. Thanks everyone!
I am struggling with finding a solution to this problem I am having. What I have is a folder with a large number of files inside and a new file is added every 5 minutes. I want to grab all the files that fall in a specific weekly time period and copy all the contents into a new worksheet. For example, I want to pull files from last week so I would need to be able to pull all the files that fall under 1/22-1/28. Ideally, I would be able to change the dates for whatever week I need. The file names have the date and time included like this-"20230202085508" so I was thinking of running through the file names and choosing all the files that include the yyyy-mm-dd that I need but I am not sure if that is the way to go due to the amount of files in the folder. Thank you for anyone who would be able to help with this. This is my first time posting on here so please let me know if there is any information needed that I may have left out. Thanks everyone!