No, the problem is that if your InStr() doesn't evaluate to TRUE you will never do the readline(1) in your conditional.

This means you will be stuck with the same line (and no @ERROR) for eternity [Wink]