|
-
Jun 23rd, 2001, 08:05 PM
#1
Thread Starter
Addicted Member
Yes or No answer...
In my program, I want a message box to appear, when the user hits "Exit". I have the message box, it asks if they are sure they want to quit. (Yes or No option) Here is the code of the message box:
MsgBox "Are you sure you want to quit?", _
vbQuestion + vbYesNo, _
"Do you qant to quit?"
The message box isnt the problem, its the answer. How do I make it so on Yes, it closes, and on No, it doesnt? I'd imagine it may be some kind of "if" statement but im not sure. Please responde if you may know!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|