Hi All thanks very much for the various suggestions - very helpful. I think I like one of the 'just catch the exception' approaches, or using Mitya's helper function, which I was clutching towards myself. Either way, lots of food for thought. This forum really is one of the best places around... Cheers Jon N