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 Access 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
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Print doc to PDF (2003)

    We discourage cross-posting. Let's have replies posted in this thread: <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