Powerpoint close presentation

D

David

I am writing an addin for Powerpoint, it is using the presentation open event
to fire the code below.

With ActivePresentation
.SaveAs "C:\Documents and Settings\All Users\Application
Data\Microsoft\OFFICE\Converted2007Pres.ppt", ppSaveAsPresentation
.Close
End With

What I am getting is that the save works but the close errors with the
following message.
Presentation (unknown member) : Invalid request. This opperation cannot be
performed in this event handler.

I have no idea why it would say this when it has just happily saved the
presentation, does anybody have any ideas that could point me in the right
direction or any ideas what the message is saying please, I am rapidly
loosing my hair.

Thanks
David
 

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