G
Guest
How do I get the default to be "No" on this Message Box with Yes and No
Options?
Dim Response As Integer
' Displays a message box with the yes and no options.
Response = MsgBox(prompt:=Trim(Str(vCount)) + " Records already posted.
Continue with append?", Buttons:=vbYesNo)
' If statement to check if the yes button was selected.
If Response = vbYes Then
DoCmd.OpenQuery "AddEntries"
End If
Thank you,
Steven
Options?
Dim Response As Integer
' Displays a message box with the yes and no options.
Response = MsgBox(prompt:=Trim(Str(vCount)) + " Records already posted.
Continue with append?", Buttons:=vbYesNo)
' If statement to check if the yes button was selected.
If Response = vbYes Then
DoCmd.OpenQuery "AddEntries"
End If
Thank you,
Steven