This is my code
Dim pdfConvert As AdobePDFMakerX.Word
Set pdfConvert = New AdobePDFMakerX.Word
blnReply = pdfConvert.CreatePDF("c:\test.doc", "c:\test.pdf")
'test.doc exists, test.pdf doesn't
Set pdfConvert = Nothing
Aandi Inston
You would first have to use VBA or Word Basic to open the Word
document, select the Distiller printer driver, and print to file.
Then you can use the Distiller API to convert the PostScript to PDF.
There will be no links, bookmarks etc. in this method.
Aandi Inston
Aandi Inston
Control Distiller from VB/VBA
http://www.rdpslides.com/psfaq/FAQ00053.htm
You can control where Word creates the PS file and where Distiller puts the
finished PDF with this.