I want to programmatically fill in some fields in a form in PDF format.
I tried this code:
Set objAdobe = CreateObject("AcrobatReader.Application")
objAdobe.Visible = True
I get the “ActiceX component can’t create object” error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The OLE automation interface is only provided by Adobe Acrobat, not Adobe Reader.
If you have Adobe Acrobat installed, you can launch it from VBScript like this:
For a complete reference of Acrobat’s automation API, see the “OLE Automation” section of this document.