I have several revision numbers I need to create folders from. So, lets say {4, 12, 534}. From this, I need to create folders that can be sorted accordingly;
\004\..
\012\..
\534\..
So, what I need to is to get the highest number and then see, how many filling zeros I need for every foldername so they are sorted correct after creating them.
How can I do this using VBA (Excel)? I tried converting them to strings and then dealing around with String operations, but this didn’t quite work out.
I hope someone has a nice idea for this…
Easiest to precompute the max then loop again and pad;