I know - it's truly weird - the reasoning behind the Do..While is:
"technically" if the code is "looping" without being told to, a Do...While 'should', in effect, negate the situation. (e.g., Do this - While that - Then Quit)
The only other things I can think of would be:
1. Run the program on another box - "maybe"there is 'something' on the code box that is causing the anomaly. (e.g., bad memory address, bad spot on HDD, etc.)
2. Re-write the code using a New Form
and Test with each New Line - maybe even on a different box - 1 of 2 reasons...
A. The existing file could be corrupted. <-- not entirely impossible.
B. In testing each line, you would be narrowing down where 'the loop' is coming into play.
...right now, it's honestly the only things I can think of.
*crosses fingers for a corrupted file...
Not to insult your intelligence, but by box - I mean computer. Just in case someone else was wondering...
...why do I have this sneaky feeling I'm gonna run into this too?...