I need to scan a text file for lines that contain the word "error." The file gets to be rather large over time and don't I want to
Code:
Do Until EOF(iFile)
     Line Input #1, strLine
     'Process Here
Loop
each time unless I have to.

Is there a way to read in ONLY the lines that contain the selected text?

Thanks!
Kevin