Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to automate adding a page to a pdf file?

Explorer ,
Jan 25, 2021 Jan 25, 2021

I'm trying to automate adding a separately saved pdf file as a new page to another pdf. Or simply combine two pdf files.

 

Either from Microsoft Excel VBA or Acrobat's Java Script.

 

Any kind of advice is appreciated.

TOPICS
Windows
529
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jan 26, 2021 Jan 26, 2021

I found a sample code here:

https://pdf-file.nnn2.com/?p=223

 

It does exactly what I need.

Thank you.

Translate
LEGEND ,
Jan 26, 2021 Jan 26, 2021

The Acrobat SDK gives info under "Interapplication communication" on how you can do that with Acrobat via Visual Basic or JavaScript.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2021 Jan 26, 2021

With JS you can use the insertPages command to do it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 26, 2021 Jan 26, 2021
LATEST

I found a sample code here:

https://pdf-file.nnn2.com/?p=223

 

It does exactly what I need.

Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines