ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   close excel after finishing task (https://www.excelbanter.com/excel-programming/277422-close-excel-after-finishing-task.html)

rachel

close excel after finishing task
 
Hi
I wrote an application in VBA that opens by shortcut, do a lot of
things, such as creating charts, files etc.
I close all the files but excel is still open. How can I close Excel .
thanks



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Cole[_2_]

close excel after finishing task
 
try this


Sub test()
'------
'Procedures
'------

Application.DisplayAlerts = False
Application.Quit
End Sub


"rachel" wrote in message
...
Hi
I wrote an application in VBA that opens by shortcut, do a lot of
things, such as creating charts, files etc.
I close all the files but excel is still open. How can I close Excel .
thanks



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/





All times are GMT +1. The time now is 04:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com