Kill powerpnt.exe

S

Silvester

Hi,

A program like Powerpoint in edit mode will not close until the dialog "Do
you wish to save" is responded to.

But it will terminate without dialog when powerpnt.exe is closed from the
task manager. I realise that this is not always recommended to be used in
this way but,

How can I terminate powerpnt.exe from and Access form's vba?

TIA
 
S

Steve Rindsberg

Hi,

A program like Powerpoint in edit mode will not close until the dialog "Do
you wish to save" is responded to.

But it will terminate without dialog when powerpnt.exe is closed from the
task manager. I realise that this is not always recommended to be used in
this way but,

How can I terminate powerpnt.exe from and Access form's vba?

Have a look here:

How to automate PowerPoint using VB
http://www.rdpslides.com/pptfaq/FAQ00115.htm

Once you have a reference to the app, you should be able to close it using the
app's .Quit method.

There will never be more than one instance of PPT. If one's already running,
the code above will give you a reference to it rather than starting a new
instance.
 

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