|
-
Jun 28th, 2000, 08:10 AM
#1
Thread Starter
Hyperactive Member
Why does this not work...? can someone tell me the correct way to do this?
Private Sub Command1_Click()
If a = 1 Then
MsgBox "Do you wish to restart?", vbYesNo, "AHH!"
If vbYes Then
GoRestart
Else
End If
Else
End
End If
End Sub
The msgBox always does both statments... I have also tried using "if vbNo Then" but still does the same thing... Is it because I have all the if statements between each other?
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
|