Hi to all,
How are you? I think my question is very easy todayok... i have below code for prevent to close a user form:
But this work to me only one time, when i make a second press on close button user form close ;(![]()
If CloseMode = vbFormControlMenu Then Cancel = True MsgBox "You can't close the dialog like this!" UserForm1.Show End If
I think i have to make a loop or something but i really don't now how?
Thank you for help!
Bookmarks