Results 1 to 2 of 2
  1. #1
    tgall is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2015
    Location
    na
    Posts
    38

    Save reports as PDF then merge into 1 PDF

    Short trip: I want to save an individual Access report as a PDF and store in a folder.
    When all reports are in the folder, I want to combine all reports into one PDF. How


    do I pull this off with VBA?

    Scenic View: I'm trying to automate a PDF print process:

    FIRST, I receive a request (RequestID). One request can have one or more tests
    (TMID) associated with it. When each test is completed, I save the report as a PDF. I can build the VBA
    to open the print dialog box. Once the dialog box is open, however, then I'm back
    into manual to select PDF and save it to a folder entitled with the RequestID.

    SECOND, via a query, I keep track of the completion of the tests. The query is the
    record source for a report I call the Table of Contents (TOC).

    THIRD, when the RequestID folder contains all the individual PDFs, I wanted a button
    that activated VBA to combine all the PDFs in one PDF.

    My laptop is installed with Adobe Acrobat XI Standard. My mind can't pull the VBA to
    connect Acrobat to the folder.

    Suggestions? {Please}

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    this wouldn't necessarily be a function of vba, does adobe acrobat have command line capability? If it does you could create a shell command to combine two adobe files or at least determine what the command line switches/capabilities are.

    https://helpx.adobe.com/acrobat/how-...tals--edit-pdf

    This seems to indicate you can but through adobe acrobat, not through command line.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 10-04-2013, 02:26 PM
  2. Replies: 3
    Last Post: 01-17-2012, 12:07 PM
  3. Print query records to reports and save as pdf
    By abhay_547 in forum Programming
    Replies: 0
    Last Post: 05-09-2011, 12:00 PM
  4. Reports, Word and merge
    By Wayne311 in forum Reports
    Replies: 7
    Last Post: 02-12-2011, 06:29 PM
  5. Save As Dialog Box for Reports
    By eww in forum Programming
    Replies: 1
    Last Post: 12-01-2010, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums