|
-
Dec 8th, 1999, 10:51 PM
#1
Thread Starter
_______
I would like to list the filenames of all files in "C:\My Documents"
How do I do this?
I can count them with this but I need to list their names.'count files in a directory
Dim iFiles As Integer
Dim sDir As String
sDir = Dir("C:\My Documents\*.*", vbNormal)
While sDir <> ""
iFiles = iFiles + 1
sDir = Dir
Wend
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|