Message 1 of 3
"X' button on form

Not applicable
08-01-2006
10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I useed the Userform_QueryClose to cancel my form.
But I am typical situation.I have a form1 ...if iclick OK on form1 it opens form2.
Now in my case ,If user clicks the'X' button of form1 the application should terminate.I tried using the same USerform_QueryClose to do that . But a wierd thing is happening...when I click OK also the application is getting terminated.
Is there smthg toget arnd this.
Thanks
Avantika
I useed the Userform_QueryClose to cancel my form.
But I am typical situation.I have a form1 ...if iclick OK on form1 it opens form2.
Now in my case ,If user clicks the'X' button of form1 the application should terminate.I tried using the same USerform_QueryClose to do that . But a wierd thing is happening...when I click OK also the application is getting terminated.
Is there smthg toget arnd this.
Thanks
Avantika