hi Mirtheil
thanks. your solution works. i modified your vb code and its working. i am grateful.
thanks once again.