Private Sub CommandButton1_Click()
'do some stuff
Stop 'code execution will pause here
'do some stuff
End Sub
Private Sub CommandButton1_Click()
'do some stuff
Debug.Assert False 'code execution will pause here
'do some stuff
End Sub
Quick A: yes, provided that Application.EnableEvents is set to true.quick Q - does ThisWorkBook.Close call the WorkBook.BeforeClose event?