HI , First Thanks for your help. I have used your code and i have checked Acrobat reference(Tools-Reference-Acrobat) and i have modified the file path, but i am getting an error (compile error: User-defined type not defined). Should i do anything additional ?