Closing a powerpoint presentation with vba

S

Sven Luhn

Hello,

i have following problem. I want to close a powerpoint presentation with
a macro. I have added a button to a slide with my action to close the
presentation.

The code is running correctly when th e powerpoint document is a
template (*.ppt). But if a save the template as powerpoint presentation
(*.pps) nothing happed.

I'm using following methods


ActivePresentation.Close
Application.Presentations("Presentation Name").Close
Powerpoint.Presentations("Presentation Name").Close

and so on

Can anyone tell me how can i close a slideshow by mouse click on a
button with a macro ???

Thanks

Sven
 

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