Hello. I'm importing a rather large delimited text file into Excel. Here's a piece of code I'm using:
I immediately get the "is open' message, but it seems as though the 'mystr' message doesn't display until the entire 'myfile' is read into memory. Is that what is supposed to happen?PHP Code:
Open myPath & myFile For Input As #1
MsgBox myFile & " is open"
Application.StatusBar = "Reading records"
Do While Not EOF(1)
Line Input #1, myStr
lineCount = lineCount + 1
If lineCount < 3 Then
MsgBox myStr
End If
Thanks.
Bookmarks