CC this is great, You are brilliant. It works like a charm.
Thank you very much. You really helped me with this code.