I am using the standard method to retrieve directories.
MyName = Dir(MyPath, vbDirectory) 'Retrieve 1st Entry
and
MyName = Dir ' Retrieve Next Entry
How do I get the directories into alphabetical order.
I don't want to have to write them to a table and sort them
in ascending order.
I really don't want to push them to an array and then sort the array in ascii ascending order?
So is there any way to use the standard method but to apply some filter on it, or make it get the directories in alphabetical order.
What I am doing, is passing a path to a function that will search for subdirectories, open the directory and import any excel spreadsheets to a table, and then go on to the next excel file, then the next subdirectory, then the next directory and start all over again?
Any ideas out there?
MyName = Dir(MyPath, vbDirectory) 'Retrieve 1st Entry
and
MyName = Dir ' Retrieve Next Entry
How do I get the directories into alphabetical order.
I don't want to have to write them to a table and sort them
in ascending order.
I really don't want to push them to an array and then sort the array in ascii ascending order?
So is there any way to use the standard method but to apply some filter on it, or make it get the directories in alphabetical order.
What I am doing, is passing a path to a function that will search for subdirectories, open the directory and import any excel spreadsheets to a table, and then go on to the next excel file, then the next subdirectory, then the next directory and start all over again?
Any ideas out there?