Convert PPT to PDF with Automation and Adobe PDF

G

Guest

All,

I have Adobe Acrobat Professional installed, so when I need to convert a PPT
to a PDF, I can simply select "Convert to Adobe PDF" from the "Adobe PDF"
menu.

However, I'd like to be able to do this through Automation (vbscript or vba).

Does anyone know if this is possible?

For example, I can run other vba macros using this:

oApp.Run(\"SomeMacro\", params)

However, I don't know how to call the Adobe "Convert to PDF" macro....

Many thanks in advance for your advice and insight!

Cheers,
Matt Stuehler
 
S

Steve Rindsberg

Mstuehler said:
All,

I have Adobe Acrobat Professional installed, so when I need to convert a PPT
to a PDF, I can simply select "Convert to Adobe PDF" from the "Adobe PDF"
menu.

However, I'd like to be able to do this through Automation (vbscript or vba).

Does anyone know if this is possible?

For example, I can run other vba macros using this:

oApp.Run(\"SomeMacro\", params)

However, I don't know how to call the Adobe "Convert to PDF" macro....

Adobe doesn't intend their macros as developer tools and makes no promises that
what works in this version will work in the next version. Or next week.

If you're thinking of doing this as part of a project for a client, it's a very
bad idea. Just for your own use, though, try setting a reference to PDFMaker
and invoke ConvertToPDF. It may work. It may crash.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top