Good morning!
I'm using this code to load Folder names into a ComboBox:
Unfortunately it's only loading File names that exist in \\GLC-SERVER\Pulte\Z_Pulte Master Archive\. Can I make this load only Folder names that exist in \\GLC-SERVER\Pulte\Z_Pulte Master Archive\?
jp
I'm using this code to load Folder names into a ComboBox:
VBA Code:
Dim MyFile As String
Dim MyPath As String
MyPath = "\\GLC-SERVER\Pulte\Z_Pulte Master Archive\"
MyFile = Dir(MyPath)
Do While MyFile <> ""
Archive_Open_Year.AddItem MyFile
MyFile = Dir
Loop
Unfortunately it's only loading File names that exist in \\GLC-SERVER\Pulte\Z_Pulte Master Archive\. Can I make this load only Folder names that exist in \\GLC-SERVER\Pulte\Z_Pulte Master Archive\?
jp