Sort:  

Sorry for not responding. I had received several queries about his function, so I made a new post. I tried to search out all those who had queried me, but was not very successful.

Anyway, I'm glad you found this one. Good luck with it.