Hi Leonard, thanks for giving the time to share the codes...I will give it a try...