Can anyone help me,
I want to easily get (if possible from a dirlistbox) the list of directories.
Thanks RSI
Printable View
Can anyone help me,
I want to easily get (if possible from a dirlistbox) the list of directories.
Thanks RSI
The dirlistbox IS a list of directories, to access them use it's list property:
Also you can manually list directories with Dir function and using the vbDirectory flag.Code:For n = 0 To Dir1.ListCount-1
Debug.Print Dir1.List(n)
Next n
Use the FILESYSTEMOBJECT
theres a bit about it in MSDN