Ok.

Thank you so very much. That was exactly the kind of code I was looking for. I'll try it out and get back to you.