Hello,

Thanks to the elegant solution posted here I am able to copy files from a selection that searches within subfolders to get and copy the files to a main folder.

I am trying to now copy the files but instead to a main folder, create the new folder names within the main folder and copy the files there accordingly.

Here is an example of the excel file to read from:

2022-04-08_18-24-22.png

I know that to create a subfolder the command is:
Please Login or Register  to view this content.
How to go about creating the new subfolders and then copy the corresponding files to the respective created folder?

Thanks for your help!

Here is the original code generated by AlphaFrog:

Please Login or Register  to view this content.