Results 1 to 2 of 2

Thread: Word to PDF With VBA **RESOLVED**

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2003
    Posts
    6

    Word to PDF With VBA **RESOLVED**

    This is very simple in theory, but I cannot seem to figure it out.

    I have a Word document that I want to convert to a PDF document via VBA code inside of work. Adobe Acrobat 5.0 is installed.

    The following code is from a macro I recorded when printing the Word document to a PDF document; however, I cannot figure out how to specify the filename in the code...

    ActivePrinter = "Acrobat Distiller"
    Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
    wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
    Collate:=True, Background:=True, PrintToFile:=False, PrintZoomColumn:=0, _
    PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0

    Hopefully someone can help.

    Thanks.
    Last edited by steven506; Aug 6th, 2003 at 10:54 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width