G
Garyj
Guest
I have an IF statement that returns the correct answer if the business user select "YES". However when clicking on the "NO" button nothing happens. How can I return a message of "That is incorrect" when clicking the "NO" button?
Thanks in advance
Private Sub Command144_Click()
If Msgbox("Every debt must have a debtor and every debtor must have a debt.", vbYesNo) = vbYes Then
Msgbox "You selected the correct answer."
End If
End Sub
Thanks in advance
Private Sub Command144_Click()
If Msgbox("Every debt must have a debtor and every debtor must have a debt.", vbYesNo) = vbYes Then
Msgbox "You selected the correct answer."
End If
End Sub