View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Kilmer Bob Kilmer is offline
external usenet poster
 
Posts: 280
Default Command Button Behavior

"before it (the form) will close?"

Do you have two instances of the form loaded?

wrote in message
...
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