Thank for all the inputs. I got confused because the VBA editor did not offer those parameters. I am used to use the editor with idea that only those parameters are allowed that show up after typing a dot. Following the recommendations, i got it worked. Thanks for all of you.