P
Paul Fenton
I'm using the code below in a form control.
Dim mess As String, answer As String
mess = "Are you sure you want to change this?"
answer = MsgBox(mess, vbYesNo, "Subject ID")
If answer = vbNo Then
Cancel = True
Me.Undo
End If
As it stands, the default button is "Yes", but I want it to be "No".
How do I do that?
Paul Fenton
Dim mess As String, answer As String
mess = "Are you sure you want to change this?"
answer = MsgBox(mess, vbYesNo, "Subject ID")
If answer = vbNo Then
Cancel = True
Me.Undo
End If
As it stands, the default button is "Yes", but I want it to be "No".
How do I do that?
Paul Fenton