Hi experts,
Hope someone can help with this. I have 10k images named as AA-1000.jpg or AA-1000-10.jpg etc. The important thing is that I want to create folders based on first 2 letters in image names, and move all other images with same letters to the same folder.
Basically, I want to run a VBA for all images located in one folder.
So, all images below will go to AA folder:
AA-1500.jpg
AA-1000-41.jpg
AA-1005.jpg
AA-1000.jpg
AA-1000-S2.jpg
AA-1045.jpg
These images will go to AB folder:
AB-10452.jpg
AB-10800.jpg
AB-10700.jpg
AB-10080.jpg
etc.
Folders need to be created by VBA too. Is this doable?
Hope someone can help with this. I have 10k images named as AA-1000.jpg or AA-1000-10.jpg etc. The important thing is that I want to create folders based on first 2 letters in image names, and move all other images with same letters to the same folder.
Basically, I want to run a VBA for all images located in one folder.
So, all images below will go to AA folder:
AA-1500.jpg
AA-1000-41.jpg
AA-1005.jpg
AA-1000.jpg
AA-1000-S2.jpg
AA-1045.jpg
These images will go to AB folder:
AB-10452.jpg
AB-10800.jpg
AB-10700.jpg
AB-10080.jpg
etc.
Folders need to be created by VBA too. Is this doable?