Command Button Behavior

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
 
B

Bob Kilmer

"before it (the form) will close?"

Do you have two instances of the form loaded?
 
Top