I have a list box (List3) with several items in it.
I want to store them in a text file on my C drive.
The following does not work.
fnum = FreeFile()
Open "C:\Stores.txt" For Output As #fnum
For Ct1 = 0 To List3.ListCount - 1
Write #fnum, List3.List(Ct1)
Next
Close fnum
Can anyone tell me what's wrong?
Any help will be appreciated.
Doug
I want to store them in a text file on my C drive.
The following does not work.
fnum = FreeFile()
Open "C:\Stores.txt" For Output As #fnum
For Ct1 = 0 To List3.ListCount - 1
Write #fnum, List3.List(Ct1)
Next
Close fnum
Can anyone tell me what's wrong?
Any help will be appreciated.
Doug