Makkan: Thanks for all the suggestions but I'm afraid I'm still going nowhere here.
Please post your amended code.