>Sorry Craig, I did spend some time trying to get it to work. But this bit is all new to me, so I was struggling.
>Your solution works perfectly. Thank you very much.
>Cyril.
You're very welcome. And, no apologies needed. I know better than to post untested code on a programming forum. I could have taken the few extra minutes and provided the correct solution the first time. Glad to hear it's working for you.