acherony
Try using the QueryClose event of your userform. It fires before the
UserForm closes and you can detect what's trying to close your
userform.
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)
If CloseMode = vbFormControlMenu Then
Cancel = True
End If
End Sub
Sunil Jadwani
Kodeworks - Business Automation Solutions
www.kodeworks.com