Cant close Excel App from Power Point

D

Dan

This should be simple but apprently it's not.
I am trying to programaticly have vba close the Excel
Application out completly, not just a window or workbook,
from my power point code module. Somthing like this

This Sub is in a module within a power point File which is
open at the time the sub is run, The Excel App is also
open at the time of the code execution.

Code Module in Power Point:

Sub CloseExcel()
Excel.Application.Quit
End sub

Why is it not closing the Excel application ?
 
H

Harald Staff

Perhaps Excel.Application is asking for something, like "save changes ?"

HTH. Best wishes Harald
 

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