Thank you so much, the code it perfectly what I need. I hope I didn't cause too many moments of "facepalm".

Thanks.

PS how do I set this thread to solved?