I know how to input a line of text from a text file in a sequential order using:
Line Input #filenum, varName
I am curious about whether there is a way in VB to if you know that there are for example, 14 lines in your text file, to input Line #7 without first inputting lines 1-6. I hope that makes sense. I want to just be able to input a specific line and only that line from a text file. Any ideas on how to do this efficiently without just "scrolling" through the file and inputting line after line until I get the one I want.
Thanks in advance!
Line Input #filenum, varName
I am curious about whether there is a way in VB to if you know that there are for example, 14 lines in your text file, to input Line #7 without first inputting lines 1-6. I hope that makes sense. I want to just be able to input a specific line and only that line from a text file. Any ideas on how to do this efficiently without just "scrolling" through the file and inputting line after line until I get the one I want.
Thanks in advance!