-
Apr 10th, 2005, 04:58 PM
#1
Thread Starter
Lively Member
MsgBox VbYesNo Problem(R to the Izzolved)
How do I set up a vbNo If then statement for this:
VB Code:
If MsgBox("Again?", vbYesNo) = vbYes Then Call MessageBox_Trick
I want it to load the form if vbNo.
Last edited by nickTHEguitarist; Apr 10th, 2005 at 05:14 PM.
Nick
-
Apr 10th, 2005, 05:07 PM
#2
Re: MsgBox VbYesNo Problem
just put an Else in there.
VB Code:
If MsgBox("Again?", vbYesNo) = vbYes Then
Call MessageBox_Trick
Else
'do code for vbno
End If
casey.
-
Apr 10th, 2005, 05:08 PM
#3
Thread Starter
Lively Member
Re: MsgBox VbYesNo Problem
Oh sorry I forgot to put, when vbNo is click I need another message box. Do I just put that in a else statement then too?
-
Apr 10th, 2005, 05:11 PM
#4
Re: MsgBox VbYesNo Problem
VB Code:
If MsgBox("Again?", vbYesNo) = vbYes Then
Call MessageBox_Trick
Else
MsgBox "No pressed"
End If
like that you mean ?
casey.
-
Apr 10th, 2005, 05:12 PM
#5
Thread Starter
Lively Member
Re: MsgBox VbYesNo Problem
Yes, kinda like that. Only that was an example the one I need to do is super long code so yea
Thanks.
"Cuz I'm just flippin sweet like that yo"
-
Apr 10th, 2005, 05:25 PM
#6
Fanatic Member
Re: MsgBox VbYesNo Problem(R to the Izzolved)
Originally Posted by nickTHEguitarist
How do I set up a vbNo If then statement for this:
VB Code:
If MsgBox("Again?", vbYesNo) = vbYes Then Call MessageBox_Trick
I want it to load the form if vbNo.
u can do like
VB Code:
If MsgBox("Again?", vbYesNo) = vbNo Then Call MessageBox_Trick
-
Apr 10th, 2005, 05:41 PM
#7
Thread Starter
Lively Member
Re: MsgBox VbYesNo Problem(R to the Izzolved)
Well I decided not to use the msgBox if then statement at all. I used radio option buttons
-NCM TO ITS FULLEST MOOF-
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
|