Previous | Next | (P-PDF) Acrobat 7
Topic: DOC to PDF Conversion w/ VBA
Conf: (P-PDF) Acrobat 7, Msg: 124806
From: nstrom
Date: 1/5/2005 02:39 AM
Hi there.
I have an existing VBA application which batch converts a number of Word DOC files to PDFs. The current codebase, written for Acrobat 6, instantiates a Word object, opens each word file, and then calls the ConverttoPDF macro in the PDFMakerA.dot, like so:
.Application.Run MacroName:="'C:\Program Files\Adobe\Acrobat 7.0\PDFMaker\Office\AdobePDFMakerA'!AutoExec.ConvertToPDF"
Apparantly, Acrobat 7 no longer includes the PDFMakerA.dot file, so this method will no longer work. I played around a bit with the unsupported AdobePDFMakerX, but couldn't get its conversion function to work. My code needs to run even if Acrobat is not installed, so I need to use late binding if I'm going to call any external library routines.
Any ideas? Thanks in advance.