Hi, seemanthv,

welcome to ExcelForun. Please have a look at our Forum Rules, especially Rule #3 and wrap your procedure with code-tags.

Ciao,
Holger