|
-
Feb 25th, 2006, 04:53 PM
#1
Thread Starter
Lively Member
MSGBOX help
Hi, I was wondering how you could get a message box with a yes and no option to work. I know how to get the message box to come up, just don't understand how to make it so if they click no, then nothing happens and if they click yes then it will close.
Private Sub mnuexit_Click()
msgbox "Are you sure you want to quit?", vbyesno
End
End Sub
With that code if you click no or yes it will close both times. Wondering how to make it so if you hit no nothing happens.
Thanks
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
|