Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / April 2008

Tip: Looking for answers? Try searching our database.

Savetype for openxml presentation under Powerpoint 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kira-Chan - 08 Apr 2008 13:10 GMT
    Hi,
I need a way to save a document with PowerPoint 2003 as OpenXML Presentation
Macro enabled (pptm). "PpSaveAsFileType" got a value for that, but it seems
those values differ under Office 2003. It's "25" with PowerPoint2007, can
someone tell me which number to use with PP 2003?
I could find out those numbers in excel and word by using macros, but when I
try to save to a 2007 format while recording a macro in PowerPoint I just get
the error message that PowerPoint found an error, and that I should save and
restart it.

Thanks for all help
Kira
vindys - 08 Apr 2008 14:06 GMT
Kira,

ppSaveAsOpenXMLPresentationMacroEnabled was added in PPT2007. So you can't
use this in PPT2003. I guess you getting powerpoint crash at the part where
you try to save the file using a file type specific for 2007 as that file
type is not available in PPT2003.

Thanks,
Vindys

>      Hi,
> I need a way to save a document with PowerPoint 2003 as OpenXML Presentation
[quoted text clipped - 8 lines]
> Thanks for all help
> Kira
Kira-Chan - 08 Apr 2008 14:19 GMT
Yeah, I know that. That's why I need that alternative enum number for it.
As I have the compatibility pack I should be able to use the new file types
with Office 2003.
As I wrote, I could get numbers for word and excel. I can't imagine there
isn't one for powerpoint too.

> Kira,
>
[quoted text clipped - 18 lines]
> > Thanks for all help
> > Kira
Steve Rindsberg - 08 Apr 2008 20:23 GMT
A lot of things you can do manually in PPT are not exposed to automation.

It's possible that this is one of them.

The compatibility pack allows you to save as 2007 format but that doesn't
necessarily mean that the capability can be automated.

> Yeah, I know that. That's why I need that alternative enum number for it.
> As I have the compatibility pack I should be able to use the new file types
[quoted text clipped - 24 lines]
> > > Thanks for all help
> > > Kira

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Kira-Chan - 10 Apr 2008 07:59 GMT
Well, but nobody can say for certain that it can't be done either, right?

Could someone then perhaps give me a hint as to why I can't record the
saving process in a macro. It would be so much easier if I could do that.  
The error message is about as nondescript es they get, so no hint there.

> A lot of things you can do manually in PPT are not exposed to automation.
>
> It's possible that this is one of them.
>
> The compatibility pack allows you to save as 2007 format but that doesn't
> necessarily mean that the capability can be automated.
Steve Rindsberg - 10 Apr 2008 16:47 GMT
> Well, but nobody can say for certain that it can't be done either, right?

Nobody who can has said anything, that's true. ;-)

> Could someone then perhaps give me a hint as to why I can't record the
> saving process in a macro.

In PowerPoint 2003?  Probably a related issue ... most likely the patch that
allows saving in 2007 format affects just the save but hasn't updated the
object model, VBA or the recorder.  

> It would be so much easier if I could do that.  
> The error message is about as nondescript es they get, so no hint there.

That's fairly typical of error messages from PowerPoint.

If you absolutely must do this, you could possibly use SendKeys to automate
what a user would do manually via keystrokes.

When the only way is an ugly way ...

> > A lot of things you can do manually in PPT are not exposed to automation.
> >
> > It's possible that this is one of them.
> >
> > The compatibility pack allows you to save as 2007 format but that doesn't
> > necessarily mean that the capability can be automated.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.