Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 891443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:53:31+00:00 2026-05-15T13:53:31+00:00

I need to be able to save Presentations (programatically) in PowerPoint 2003 as OpenXML

  • 0

I need to be able to save Presentations (programatically) in PowerPoint 2003 as OpenXML (“.pptx”).
I installed the Microsoft Office Compatibility Pack. This indeed allows me to perform “Save as PowerPoint 2007 Presentation” from PowerPoint 2003.

How can I do this programmatically? (e.g. VBA)

I tried Presentation.SaveAs:
While there is no inherent PpSaveAsFileType enum value in PowerPoint 2003 for ppSaveAsOpenXMLPresentation, I made a program which prints the PpSaveAsFileType values and found out that during run-time, ppSaveAsOpenXMLPresentation = 24.

However, I tried:
SaveAs(@"c:\temp\saveas\pupik.pptx", (PpSaveAsFileType) ((int) 24), MsoTriState.msoTrue);

And got an “Invalid Enumeration Value” Exception

Any ideas how to make this work?

(PS – I am aware that this question was already asked by several people on the web, but no solutions were offered.)

Thanks,
Arie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:53:32+00:00Added an answer on May 15, 2026 at 1:53 pm

    Edit > Some grammar

    AFAIK the pptx format does not support macro-enabled presentations, so if your code is in the presentation you are trying to save, it will not work.

    I don’t have Excel 2003 at hand now, but if the Compatibility Pack enabled the option “pptx” in the Configuration Dialog, Default Save Format, and you are trying to save ANOTHER presentation I guess you can if you use something like:

     MyOtherPresentation.SaveAs "C:\Mypres", ppSaveAsDefault
    

    Please note that this may work only if the presentation had not been saved before in ppt format

    EDIT

    If the above doesn’t work, you could try a different approach. Save the file in the old format and the call a conversion program:

    ppcnvcom.exe
    See here for an example (using wordconv.exe, but essentially the same)
    Be sure to have all the office upgrades installed, because if not the program ends
    reporting no error and doing nothing.

    ofc
    See here for instructions
    And here for a good discussion

    HTH!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need the user of my Flex application to be able to save a
I'm using: https://github.com/blueimp/jQuery-File-Upload Basically, I need to be able to save the current done
I need to be able to save the main window of a pyqt app
I need to be able to save an image (format doesn't matter) of the
I'm able to save the excel file as .csv using perl like this :
I need to be able to save and load images into an SQLite database
I am able to save a single value into excel but I need help
Users of the website need to able to store images in their area ,
Need to be able to pull Magento products into an external template. Need to
I need to be able to access a list throughout my Rails project. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.