It is difficult from your code snippet to know if what you have posted, represents everything. But here are my thoughts;
Code:
Dim Item As String
Dim i As Integer
i = 0
Do
code...
List1.List(i) = Item
List1.Tag = i 'tag the number of file entries
i = i + 1
Loop
You Dim Item as a string but do not appear to set it to anything, so you are putting a blank string into the list.
To iterate through the List try;
Code:
For i=0 to List1.listcount-1
Item="Place something in this string"
List1.list(i)=Item
Next i
List1.tag=List1.ListCount
Edit:
It occurs to me that what you may be after is to read each entry in the list that's already there;
Code:
Dim Item() As string
For i=0 to List1.listcount-1
Redim Preserve Item(i)
Item(i)=List1.list(i)
Next i
List1.tag=List1.ListCount
Steve.
Bookmarks