Simple Exit-the-program

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
 
G

Gee

Never mind I got it...Application.Quit...I knew it was
easy and I was having some kind of mental block.
 
Top