View Single Post
  #2   Report Post  
dominicb
 
Posts: n/a
Default


Good afternoon Greg B

This is how to do it:

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)
Cancel = True
End Sub

Just don't forget to set up a close button, and if you do, don't forget
that you can crash out of a macro using ctrl + Break.

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=468606