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
 
Top