I guess if you struggle long enough you eventually find your way....at least I seem to. My problem was in my "close" statement for the txt file I was writing to. Thanks to everyone that tried and did help me.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain