Wow gee thanks Riamus2. I never thought it could be that easy. I overcomplicated myself. Thanks for your rescue.

Yeah I tried but sort of failed, colt45. I'm glad you have a working code now. wink