I seem to have figured out the code to open and save the file. Where I have indicated CODE CODE CODE is where I would like to put the code that will delete those above lines (I tried cutting and pasting other code from these forums but they didn't work for me.