jagrenet
Board Regular
- Joined
- Feb 23, 2022
- Messages
- 81
- Office Version
- 365
- 2013
- 2011
- 2010
- Platform
- Windows
Good Day Gurus !!
I have an idea I am trying to get to work but, not sure exactly how to approach it, .... or if it can be done.
I have a folder with files,(13 files) all of the same type, and date, .... the only thing different are the names and length of names.
By default, they are listed Alphabetically.
What I am needing to do is "sort" them in a very specific order which is not Alphabetical. I have the filenames in a spreadsheet listed in the order I need and have that order assigned to an array.
Is there a way to use my array with DIR() ..... FSO ..... or some other method to re-arrange the files from within my VBA code, that would not require any user input?
Thanks in advance !!
I have an idea I am trying to get to work but, not sure exactly how to approach it, .... or if it can be done.
I have a folder with files,(13 files) all of the same type, and date, .... the only thing different are the names and length of names.
By default, they are listed Alphabetically.
What I am needing to do is "sort" them in a very specific order which is not Alphabetical. I have the filenames in a spreadsheet listed in the order I need and have that order assigned to an array.
Is there a way to use my array with DIR() ..... FSO ..... or some other method to re-arrange the files from within my VBA code, that would not require any user input?
Thanks in advance !!