Import partial txt file using VBA
Have you got Access installed on your system? That would do it (just make a
new database and then choose File, Get External Data, Import).
"lookin" wrote:
I have a txt file that has 161,200 lines. Because it is so large I am
unable to open it using excel. I am using the following code to open
the txt file:
Shell "Notepad.exe" & " " & "path\filename.txt", vbMaximizedFocus
Now I can't figure out how to select and copy only the lines that I
need, lines 161237-161267.
Can anyone help me w/ this?
|