Private Sub CreateLogFile()
Dim fs as Object
Dim a as Object
Set fs = CreateObject("Scripting.FileSystemObject"
Set a = fs.CreateTextFile("c:\testfile.txt", True)
For index = 0 to list0.ListCount-1
a.writeline(list0.itemdata(index))
Next index
a.Close
End Sub
This assumes that the bound column of your list box isthe field you want to output.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.