Hi
Yes, thanks for that. I've actually come to exactly the same conclusion. I think it an issue with an old version of a .dll on the machine, but I can't work out which .dll it is. Anyhoo as you say ElseIf can be used to circumvent the problem. If anyone knows which .dll it is I would be...