sBarber, as i said before you need to explain in the first place what you want to acheive! Now i'm kinda lost about what you want i took exactly your words from your first posts and then did a good example for you, but you didnt tell us the right way to do it.

Now we're kinda confused, even Doogle tried to help you but after you changed what yoh wanted. The best way for us to help you would be to havea file example(s) of the same file(s) you are using please post the text file(s)... At least one then you will see the light at the end of the tunnel.

Sam pointed out you need to open file before loop... In my example i opened file before loop or else yes it will only get one line as you are opening file every for-next loop you are using