Thanks very much for explaining what was causing the problem. I had 2 days eXCEL VBA course last week so it makes better sense now. I need to practise a lot though..

I'll take your advice about comments when I step through the code.

Thanks again
Yeliz