G Guest Nov 3, 2007 #1 Hi In a userform there are a Red Cross to close the form Can i disable this ? Regards alvin
G Guest Nov 3, 2007 #2 I use the userform queryclose to disable 'Red Cross' Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub
I use the userform queryclose to disable 'Red Cross' Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub
G Guest Nov 7, 2007 #3 Thanks Alvin "GerardV" skrev: I use the userform queryclose to disable 'Red Cross' Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub Click to expand...
Thanks Alvin "GerardV" skrev: I use the userform queryclose to disable 'Red Cross' Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub Click to expand...