Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    May 2006
    Thanked 0 Times in 0 Posts

    Print doc to PDF (2003)

    I am also including this posting in Word and VBA forums, because I am not sure in which it belongs.

    In Access I have written VBA to create a Word document based on a template. I use code to write to the Word document, and Save it.
    Now I would like to print the Saved document to a PDF file. Systems have Adobe Acrobat, version 7.
    Is there a way that I can use VBA to have Acrobat open the Word.doc and print to the Acrobat distiller?

    Here is the last line of the VBA for Word:

    'Save the document with the save name just created
    gappWord.ActiveDocument.SaveAs strSaveNamePath

    I thought I could add"
    gappWord.ActiveDocument.PrintOut( ?????)
    I need help with the syntax for PrintOut to include all pages to the PDF distiller which is not the default printer

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Print doc to PDF (2003)

    This thread is locked to prevent duplication and confusion. Please post all replies in the thread in the VBA forum, in the thread starting at <post:=577,323>post 577,323</post:>.

Posting Permissions

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