Save Bug in Compatibility Pack PowerPoint 2007

R

RobertSeattle

1. Install Microsoft Office Compatibility Pack for Word, Excel, and
PowerPoint 2007 File Formats on an Office 2003 machine.
http://www.microsoft.com/downloads/...70-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en

2. Create foo.pptx (Powerand 2007 file format) and make it the active
powerpoint presentation

3. Run this macro:
Sub TestSaveInPP()
ActivePresentation.Save
End Sub

4. Result: foo.pptx.ppt

This does NOT happen under similar circumstances for Word and Excel -
Word 2003 and Excel 2003 "respect" the Office 2007 format.

Anyone heard if this is being fixed? If you have an automation
program that uses .Save and your clients are using the PP 2007 format
you'll have problems...
 
S

Steve Rindsberg

Here's a guess as to what's happening:

ActivePresentation.Save saves in the default format, in this case .PPT

It'll probably remove the extensions it recognizes before appending .PPT but apparently it
doesn't know about PPTX despite the compat pack.

Try ActivePresentation.SaveAs and see if intellisense offers you the newer formats. If so,
that's how you can probably automate this; look at everything to the right of the dot and if
it's PPTX, PPTM etc, save as to the newer format, else save as default.
 

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