New Forum | Previous | Next | (P-PDF) Beginners
Topic: Creating a PDF file from Word through Visual Basic
Conf: (P-PDF) Beginners, Msg: 80381
Date: 1/29/2003 02:54 AM
I am working on a VB application that creates a Word document. After the document has been created and saved, I want to be able to automatically create a PDF file from the Word document. I know that if I have Acrobat PDFMaker installed, I can just run the ConvertToPDF macro, but that macro brings up a dialog box asking the user to specify the name for the PDF file. Is there any way to specify the name for the PDF file (or have the PDF file named the same as the Word document) from within the VB code, so the user is not asked for the name? Also, is there a way to specify the path to save the file to?