Does VBA for Excel not allow nested while loops? I don't write macros all that often but whenever I do, I nest a while loop (because I forgot that it didn't work last time), it errors out and I end up ...
The DOS command mkdir will create nested paths. Is there a reason you can't just do a system call instead of using the CreateFolder function?
Results that may be inaccessible to you are currently showing.
Hide inaccessible results