code to quit

  • Thread starter Thread starter Edwin Merced
  • Start date Start date
E

Edwin Merced

What would the code to quit Excel be if I need a button to run that macro?
 
Edwin

Sub QuitExcel()
Application.Quit
End Sub

Gord Dibben XL2002
 

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

Back
Top