thank you for your reply Wims i tried youor last posted code but still the same issue