New Forum | Previous | Next | (P-PDF) Developers
Topic: Calling Distiller from VBA via Windows Automation
Conf: (P-PDF) Developers, Msg: 52091
Date: 5/29/2002 04:49 PM
I need to call Distiller 4.0 from VBA, using Automation. the Adobe API Reference states that a couple of simple commands will suffice:
Dim pdf as PdfDistiller
pdf.FileToPdf "My Test File.ps", "", ""
However, VBA expects a SET statement to actually create the object (via GetObject or CreateObject, I assume). I haven't been able to compose a SET statement to make the code work.
Does anyone have a suggestion?