Jump to content
Sign in to follow this  
scratch85

PowerPoint SaveAs or SaveCopyAs PDF File

Recommended Posts

scratch85

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

Share this post


Link to post
Share on other sites
scratch85

Also the newest doc's I found do not show the PDF option ...

=> http://msdn.microsoft.com/en-us/library/bb265906.aspx

Share this post


Link to post
Share on other sites
SeF

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

Share this post


Link to post
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
Sign in to follow this  

×