How will i remove or disable the close (X) button on a Userform.
How will i remove or disable the close (X) button on a Userform.
[VBA]
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = 0 Then Cancel = True
End Sub
[/VBA]
T-ogether
E-veryone
A-chieves
M-ore
One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.