Simple Exit-the-program

  • Thread starter Thread starter Gee
  • Start date Start date
G

Gee

I'm feeling like an idiot 'cause all I need it for Excel
to close when I hit a button.

Private Sub CommandButton21_Click()

What goes inbetween these two to get the dang program to
exit?

End Sub

Thank you for any help you can give me. I'm learning this
as I go.
Gee
 
Never mind I got it...Application.Quit...I knew it was
easy and I was having some kind of mental block.
 

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