How do I close Excel Application from PPT code module ?

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

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

This Sub is in a module within a PPT File which is open at
the time the sub is run.

Sub CloseExcel()
Excel.Application.Quit
End sub

Why is it not closing the Excel application ?
 
What is Excel defined as?

You may also want to check http://www.tushar-
mehta.com/excel/vba/xl_doesnt_quit/index.htm

--
Regards,

Tushar Mehta
MS MVP Excel 2000-2004
www.tushar-mehta.com
Excel, PowerPoint, and VBA tutorials and add-ins
Custom Productivity Solutions leveraging MS Office
 
Back
Top