Hi XLD
Thanks very much for your reply. Just to let you know that your code works fine but my code to loop through the worksheets is up the mud!. I'll post again but have run out of time for now and am away for 2 weeks.

Terkel