Thanks Jimmy. I don't suppose you could show me a vbScript example of how to write out the error message (or point me in the right direction), could you? I know how to do use the show if behaviour, but I'm unfamiliar with "writing out" an error message