Say I have a button embedded into my spreadsheet that launches some VBA function.
Private Sub CommandButton1_Click() SomeVBASub End Sub Private Sub Some
~ For those using custom input box
Private Sub CommandButton1_Click() DoCmd.Close acForm, Me.Name End End Sub