Jump to content

PowerPoint SaveAs or SaveCopyAs PDF File


scratch85
 Share

Recommended Posts

Hi,

in PowerPoint 2007 you can save a Presentation as PDF. I tried to automate this feature but the COM SaveAs or SaveCopyAs functions do not show this option.

SaveAs(Filename, FileFormat, EmbedFonts)

=> http://msdn.microsoft.com/en-us/library/aa220515%28office.11%29.aspx

But the FileFormat Constant do not have a reference to save as PDF. Just a Doc mistake?

Anyone can help?

Thanks

scratch

Link to comment
Share on other sites

  • 1 month later...

I don't have AutoIt installed here to test it. But, I will try to point out the directions :idea:

Use 'Export method' instead of SaveAs (I did with Excel one time and It worked out pretty well).

Presentation.ExportAsFixedFormat Method: http://msdn.microsoft.com/en-us/library/bb231096.aspx

PpFixedFormatType Enumeration: http://msdn.microsoft.com/en-us/library/bb265637.aspx (Use ppFixedFormatTypePDF)

Edited by SeF
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...