Closing the form from the top right X
Do not let user closing the form from the top right X
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = 0 Then Cancel = True End Sub