Sash said:
Newbie, so please bear with me....
I need to output data gathered from an array into a text file. Can
someone provide an example of this?
I'm not exactly sure what you have in mind, but here's a very simple
example that demonstrates what I think would be the elements.
'----- start of example code -----
Dim astrMyArray(99) As String
Dim intFileNo As Integer
Dim I As Integer
intFileNo = FreeFile()
Open "C:\Temp\OutFile.txt" For Output As #intFileNo
For I = LBound(astrMyArray) To UBound(astrMyArray)
Print #intFileNo, astrMyArray(I)
Next I
Close intFileNo
'----- end of example code -----