Hi Shaukat

I was stuck with the coding even though I had the logic ready. Your code did give me an idea of how to proceed. Working on it now. Will keep you posted about the progress.

Anyway thank you so much for taking the pains.