Results 1 to 2 of 2
  1. #1
    Larry R is offline Novice
    Windows 7 64bit Access 2013 32bit
    Join Date
    Jul 2020
    Posts
    1

    VBA Code to Open PDF, run adobe Action Wizard, then save form and close pdf

    I'm generating a report to a file using vba by docmd.OutputTo in Access which saves the report as a pdf. I have to open it in Adobe and run an Action Wizard I created which makes the current form fillable and most important inserts a signature field. I save the form to the same name and close Adobe. I can then return to Access and click on my email button which generates an email with report attached for signature.



    Anyone know how to automate the process in Access VBA of opening the PDF in adobe, run the action wizard I've named "Make Form", save the report to the same file name and close the Adobe program?

    Thanks for your help!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,816
    VBA can automate PDF editing. I have done this to combine PDF files. Once PDF is saved, open Adobe PDF object in VBA and set object to that file. Then can manipulate Adobe PDF properties. Whether or not VBA can simply open PDF with a switch that will trigger ActionWizard is unknown to me. I don't see any switch parameter for that in https://www.adobe.com/content/dam/ac...parameters.pdf
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-12-2017, 08:43 AM
  2. Replies: 5
    Last Post: 10-13-2015, 02:53 PM
  3. Replies: 2
    Last Post: 07-15-2015, 08:35 PM
  4. Close Form And Save, Open new form
    By MarkV in forum Forms
    Replies: 3
    Last Post: 03-10-2015, 08:15 PM
  5. Replies: 1
    Last Post: 05-03-2012, 02:25 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