new project..listbox..command button.
'your LineInput function will work as well
'but this is pretty neat.
'change C:\my documents\try.txt" to your file.
'the results are what you want.
Option Explicit
Option Compare Text
Dim filesys, txtStream As Object
Private Sub Form_Load()
Dim myArr() As Variant
Dim i As Integer
Set filesys = CreateObject("Scripting.FileSystemObject")
Set txtStream = filesys.openTextFile("C:\my documents\try.txt")
Do Until txtStream.atendofstream
List1.AddItem txtStream.readline
Loop
End Sub