Hi Pete! Thanks for your suggestion! I just tried your script and got the error message "compilation error (Chunk: bad preposition) near "into" , char 28 for the following line: put line tLines+1 to x into field "final2" While I did paste and not your script into my group script, I did remove linefeeds and cr's. Any other ideas? Charles Szasz cszasz at mac.com