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

How to automate adding a page to a pdf file?

Explorer ,
Jan 25, 2021 Jan 25, 2021

Copy link to clipboard

Copied

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

Views

96

Likes

Translate

Translate

Report

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.

Likes

Translate

Translate
LEGEND ,
Jan 26, 2021 Jan 26, 2021

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

I found a sample code here:

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

 

It does exactly what I need.

Thank you.

Likes

Translate

Translate

Report

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