Thread
:
Disable the Close button on a Userform
View Single Post
#
2
Posted to microsoft.public.excel.programming
Carim
external usenet poster
Posts: 510
Disable the Close button on a Userform
Hi,
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)
If CloseMode = vbFormControlMenu Then
' make user do what you want"
Cancel = True
End If
End Sub
HTH
Reply With Quote
Carim
View Public Profile
Find all posts by Carim