PDF date stamping / PDF whitespace

antonynw

New Member
Joined
Jun 14, 2019
Messages
5
Hi,

I currently have an excel macro which cycles through a list of links to pdfs (generated through power query), opens them, pastes a copied template onto the pdf and saves it.

It works, but it isn't the most stable - I have resorted to using send keys / wait as I'm not sure about event listeners, especially when working with PDFs.
This is causing problems if it takes slightly longer to save or anything like that.

Just wondering if anyone has any experience with working with adobe and could advise either any documentation/articles?

Also, maybe a bit more more complex but as it stands it pastes right into the middle of the pdf, if there is a way to read where whitespace is and paste into that specific place that would be fantastic.

Thanks in advance.
 

Some videos you may like

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Watch MrExcel Video

Forum statistics

Threads
1,127,173
Messages
5,623,191
Members
415,956
Latest member
locos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top