The code works as far as listing all the files but it does not keep the order in which I need them as shown in my example. This list of files is used for zipping. My zip macro will take, in this example, the locations of 3 files which are to be zipped together....
F:\New folder\30\Photo_A\JPEG\Photo_A1.jpg
F:\New folder\30\Photo_B\JPEG\Photo_B1.jpg
F:\New folder\30\Photo_C\JPEG\Photo_C1.jpg
Then it takes the next 3 file locations. I have developed code to get this but I would like to know if there is a way to get the name of a sub folder. I can get the name within this loop
But I can't do it outside of it.
Edit:
I just realized that since the sub folder name is derived from the parent folder name, I can just use the parent folder name.
Bookmarks