|
-
Apr 4th, 2006, 09:45 AM
#1
Thread Starter
Junior Member
Message boxes
Quite simple, im sure I should know the answer to this, but I cant put my finger on it
I have this so far:
Dim response As Integer
Private Sub Command9_Click()
response = MsgBox("Are you sure you want to quit?", vbQuestion + vbYesNo)
If response = vbYes Then
End
Else
End If
End Sub
So far all it does it close the message box whatever I press, I know that the 'end' is wrong, but am not sure what to change it to. I just want 'no' to go back to the form and 'Yes' to quit the application. (I am using Access with VBA)
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
|