I wrote a code in VBA that takes data from a lot of individual files from separate daily folders (e.g. 2021-10-09 is a folder).
The way it works now is like this: I select through some inputboxes the day and month and then my code runs on that specific folder in the filepath.
What I want is: Based on today's date (either from formula in vba or input), to create a loop that runs my code for the remaining days. For example, if today is 10/11/2021 and the last time I ran the code was 10/07, the code should loop through 10/08, 10/08, 10/10 and 10/11 lastly.
I can create a variable that takes the date string from last row to see when it was last updated. But how do i loop through those folders (with dates on them - attached SS).
Thank you, Dan