Theva,
I have removed the offending lines of code. They were placed there automatically by the compiler when I selected the worksheet prior to removeing it altogether. Unfortunately I hadn't noticed those lines of code. Anyhow the attached file seems to be OK now.
Patrick