I will have a look at that as well, although Glenn has kindly pointed out some code that I can use. Heaven knows when I will get around to testing it. When it rain it pours - and I am not talking about the weather at the moment, although it is chucking water down outside in England.