close excel after finishing task

  • Thread starter Thread starter rachel
  • Start date Start date
R

rachel

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
 
try this


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

Application.DisplayAlerts = False
Application.Quit
End Sub
 
Back
Top