Question Details

Welcome to the Acrobat Answers site. You're on your way! It won't take you many more points to reach the next level: Participant. And as you accumulate more points, you're also building your reputation with the community and with

is it possible to open pdf file, add an image then close the file using vba?

We have several pdf files that reside on our server that need to be opened up, have an image added to page 2 and page 3(same location on page) then closed. I would prefer to have a script to do this because it would obviously be faster than having our clerical staff open every file individually, add the image, close the file and open up the next etc...

Any help would be greatly appreciated!

Ted Best 922 days ago

1 Answer

<p>Congratulations! The Acrobat User Community selection team has approved your status as Expert in the Acrobat User Community. We appreciate all your past contributions and hope you will continue to support the community by answering questions and participating in the Acrobat Answers Q&A program as you've done in the past.</p>

<p>As an expert, you will get a badge to display on your profile with the level EXPERT next to your name and you have become eligible to be nominated to the Adobe Community Professional Program.</p>

<p>After reviewing the Adobe Community Professional Program information at, please let us know if you are interested.</p>

<p>Someone from the selection team will contact you soon regarding the community professional program. Keep up the good work!</p>


<p>The Acrobat User Community Team</p>

<p>**** Disclosure Requirements for Endorsements Received by Third Parties  ****</p>

<p>If you endorse or refer people to the Acrobat User Community in any venue,  it is our responsibility to ensure that you are aware of required compliance with the <a href="">FTC’s Guidelines</a>. Both you and Adobe can be held liable under federal law for making unsubstantiated claims and for not disclosing your relationship with Adobe. In particular:</p>

<li>Always disclose if you have received any type of incentive – free products, promotional items, travel, gifts, payment, and so on from Adobe. The disclosure must be on the same page as the endorsement.</li>
<li>Be truthful. Endorsements should not be misleading. Never make unsubstantiated or exaggerated claims about the benefits of Adobe products or programs. Any statements or endorsements about an Adobe product must be based on upon your actual experience.</li>

Thank you again for your support of Adobe and the Acrobat User Community</p>

The short answer is "no", at least not in a way that works in all cases.

You can add a a button using VBA that uses an image as it's button face, and you can then in a second step flatten the document so that the the button gets converted to a "regular" image. This will not work if you have other interactive elements in your document, because the flattening will flatten those too (as long as they are on the same page). Also, you need to make sure that your image is available as a PDF document (only PDF pages can be used as button face images).

If you want to use a 3rd party PDF library, things get easier (but also more expensive because you have to license more software).

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...

Karl Heinz Kremer answered 921 days ago  |   Comments (0)  |  New Comment


  |   Report
Was this answer helpful?  

Please specify a reason:

Try the next version of

Free trial

Get started with the next version of Acrobat.

Learn what's new >

Topic Experts

1. Karl Heinz Kremer 53700
2. Gilad D (try67) 35380
3. George Kaiser 21280
4. David Austin 14370
5. Almir R V Santos 10100
6. Max Wyss 8050
7. Lori Kassuba 7930
See more »

Last 30 Days