Try this:
Dim strExistingFile As String
strExistingFile = Dir(gstrProcessAreaDirectory & "*.*")
Do Until strExistingFile = ""
List1.Additem strExistingFile
strExistingFile = Dir()
Loop
|
Results 1 to 8 of 8
Thread: Simple dir function (newbie)Threaded View
|
Click Here to Expand Forum to Full Width |