G
Guest
I want to detect if someone click the Red X to dismiss the form instead of my
OK or Cancel command buttons. Even better would be to prevent the form from
being dismissed in the first place.
I looked in the Object Browser for UserForm and did not find a BeforeUnload
event. I see the Terminate event, but it appears this is too late to prevent
the form from being terminated.
Is there something I'm missing?
inTHANKSadvance
OK or Cancel command buttons. Even better would be to prevent the form from
being dismissed in the first place.
I looked in the Object Browser for UserForm and did not find a BeforeUnload
event. I see the Terminate event, but it appears this is too late to prevent
the form from being terminated.
Is there something I'm missing?
inTHANKSadvance