ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using .FoundFiles to list files by path and file name (https://www.excelbanter.com/excel-programming/358660-using-foundfiles-list-files-path-file-name.html)

Jon[_21_]

Using .FoundFiles to list files by path and file name
 
I am using .foundfiles in a program and it lists the files in a
directory I choose but it lists files in alphabetical order regardless
of whether they are in subfolders.

Is there a way to list files alphabetically but also with respec to
subfolders. For example, I'd like to list all the files in the
directory I choose (using BrowseForFolder) first in alphabetical order.
Then I'd like to list the files within any subfolders after that, and
they would also be in alphabetical order. Thanks for any help you can
give.



All times are GMT +1. The time now is 12:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com