Disabling Excel X Application Button
It is rarely a good idea to modify thebehaviour of a standard interface
If you want to disallow the X from closing the form, use this
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer
Cancel = Tru
End Su
|