Hi,

I have a userform. When activated global variable is set to true (to prevent from opening other forms).
When form is closed as designed (after pressing a button) variable is set to false.

When I close form by clicking X in right top corner terminate event seem not to appearer.

What happens when user closes window with X? and haw can I use this.

Cris