Just a note to Coningham - to say thank you very much! I stumbled on this forum via Googling the problem, and your solution works a treat! :)