No you got me wrong. I said your suggestions worked. Thank you. But the code was still not upto the mark I originally wanted it to be. I still have to amend it further. Also, the links you gave me were helpful. thanks again. But I didn't mean to offend you. Why would I do that? You helped me. I am thankful for that.