Command Button Behavior

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Any idea why a simple command button with the following
code would require 2 clicks before it will close?

Private Sub CommandButton2_Click()
Unload UserForm1
End Sub
 
"before it (the form) will close?"

Do you have two instances of the form loaded?
 

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