Thank you for the response. The solution works for static folder paths on a directory
I am using a directory as input for the macro created. But the partial path of my directory is dynamic, which changes on the date
How can i use this dynamic folder names in directory tool.