Abigail,
Thanks for taking the time to respond to my question. I know the question showed no code and I can understand your refusal to "make guesses". However, I was lucky in that another person saw the question and understood completely what my problem was. His solution, like my question , was brief and to the point. I've followed his suggestion and have my script working perfectly. Thanks again, Simon