|
-
Jun 3rd, 2001, 11:25 AM
#1
Thread Starter
Hyperactive Member
File List boxes small question
Hi
How do u run through every file in a File box, open it and remove data from it
(I know how to open the files )
Last edited by AliBail; Jun 3rd, 2001 at 11:45 AM.
-
Jun 3rd, 2001, 11:49 AM
#2
Addicted Member
What is it that you don't know how to do?
To cycle through the files in the list:
Dim i As Long
Dim sFullPath As String
For i = 0 To File1.ListCount
'Debug.Print File1.List(i)
sFullPath = File1.Path & "\" & File1.List(i)
'do your stuff here
Next i
-
Jun 3rd, 2001, 11:56 AM
#3
Thread Starter
Hyperactive Member
Yep thats it thanks
Yep thats it thanks.
Soz, i should of been a bit more specific.
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
|