Happy Friday!
Here's my code that lists folders in a UserForm ComboBox. This works fine but the results are oldest first (ascending). Is it possible to make the order descending?
Here's my code that lists folders in a UserForm ComboBox. This works fine but the results are oldest first (ascending). Is it possible to make the order descending?
VBA Code:
Dim fso As Object
Dim MySubFolder As Object
Dim MyPath As String
MyPath = "\\GLC-SERVER\Pulte\Z_Pulte Master Archive\"
Set fso = CreateObject("Scripting.FileSystemObject")
For Each MySubFolder In fso.GetFolder(MyPath).SubFolders
Archive_Open_Year.AddItem MySubFolder.Name
Next MySubFolder