+ Reply to Thread
Results 1 to 3 of 3

Append pdf file to another pdf file with excel VBA

  1. #1
    Registered User
    Join Date
    10-10-2003
    Location
    Massachusetts
    MS-Off Ver
    Office 365
    Posts
    88

    Append pdf file to another pdf file with excel VBA

    I have found some awesome code that allows pages from one pdf to be inserted into another pdf.

    Unfortunately, I have no clue how to edit the code to do what we need.

    We have two issues.

    First off, what I am hoping is the easiest problem. After the code runs Acrobat remains open. We need to be able to close Acrobat after the combined file has been saved.

    The second issue: The code I found is for inserting pages from one pdf into another pdf.

    What we need to be able to do is append an entire "daughter" pdf to the bottom of a "parent" pdf. Ideally we would like to save the parent pdf with the same file name after the daughter pages have been appended.

    Note: We never have a clue how many pages are in the "parent" pdf nor how many pages are in the "daughter" pdf. All I can tell you is that we want to end up with one file that has the entire daughter file appended to the bottom of the entire parent file - we never know how many pages are in either source file.

    Example files have been attached.


    Here is the code we have:
    Please Login or Register  to view this content.

    Ideally, the combined document would be 10 pages long. Again, we never know how long either document will be.

    As always - any help is greatly appreciated. As usual - I'm way over my head here .
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-10-2003
    Location
    Massachusetts
    MS-Off Ver
    Office 365
    Posts
    88

    Re: Append pdf file to another pdf file with excel VBA

    In case anyone ever needs code that will append one pdf to another, here it is:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,709

    Re: Append pdf file to another pdf file with excel VBA

    I just came across this video the other day ... It is very simple way

    https://www.youtube.com/watch?v=oUPlFxZs4Uc

    Edit : Above video to append multiple PDF files into excel
    Last edited by nankw83; 06-24-2022 at 10:48 AM.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-09-2022, 02:32 AM
  2. Macro To append Data from a monthly file to Master file Based on Column Headers
    By ashwankumar in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-05-2016, 11:15 PM
  3. Replies: 0
    Last Post: 01-20-2015, 10:07 PM
  4. [SOLVED] Saving MASTER file, automatically remove part of file name and append current date?
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-10-2014, 08:13 AM
  5. Copy cell value of all file in the folder and append to Master file
    By snsuvarna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2013, 11:55 AM
  6. copy / append rows to a file from another file ( Name of Wsheet is same)
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2013, 12:05 PM
  7. Replies: 0
    Last Post: 11-16-2011, 01:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1