Perfect!! Thanks Pradeep!!

Customized it a little to suit my requirements.

Thanks again

Sai