New Forum | Previous | Next | (P-PDF) Developers
Topic: Acrobat 4-> 5 migration.. Code breaks. Why?
Conf: (P-PDF) Developers, Msg: 73647
Date: 10/4/2002 10:44 PM
I'm a VBA developer and have had automated PDF's from Excel & Word working for some years. Now as we migrate to Acrobat 5 and XP, its stopped working. Its only a few lines of code. Can anyone tell me what the equivalent code should be to work in Office XP to fix my existing Excel XLA's which use this function.
Original code is:-
Set oPDFMaker = New AdobePDFMakerX.Word
Set oPDFOptions = oPDFMaker.Options
oPDFOptions.ViewPDFFile = True
oPDFMaker.WordFilename = szInputWordname
oPDFOptions.PromptForPDFFilename = False
oPDFOptions.ReportErrors = True
Worked = oPDFMaker.createPDF (szInputWordname,szFullOutputPDFName)
All that happens is that this createPDF funcion still runs - always returns TRUE - but does NOT create an output PDF.
I'm not an Acrobat developer.. I have a couple of days to fix this.. anyone tell me what I need to change please.