Posted to microsoft.public.excel.programming
|
|
How to disable the Exit Button of UserForm in Excel?
Hi Alex
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = 0 Then Cancel = True
End Sub
--
XL2002
Regards
William
"Alex" wrote in message
...
| How to disable the Exit Button of UserForm in Excel?
|