R
Robert Crandal
I have a push button on my spreadsheet which loads my Userform
in the following manner:
Sub Button1_Click()
UserForm1.Show (vbModeless) ' Display my Userform
End Sub
When a user presses the "X" button on the Userform object
I believe that Excel will terminate the Userform instead of
simply "hiding" it by making it invisible. How can I program
my Userform to turn invisible instead of terminating itself??
I would rather have the Userform turn invisible so it can
maintain its current position on the screen when it is
re-activated again..... I noticed that the Userform position
gets reset to default after the form is terminated, and I want
to avoid this.
Thank you!
in the following manner:
Sub Button1_Click()
UserForm1.Show (vbModeless) ' Display my Userform
End Sub
When a user presses the "X" button on the Userform object
I believe that Excel will terminate the Userform instead of
simply "hiding" it by making it invisible. How can I program
my Userform to turn invisible instead of terminating itself??
I would rather have the Userform turn invisible so it can
maintain its current position on the screen when it is
re-activated again..... I noticed that the Userform position
gets reset to default after the form is terminated, and I want
to avoid this.
Thank you!