Solved: prevent msgbox display
How can I prevent a msgbox from displaying if I'm still focused in the textbox? Currently, if I enter a value over 75.00, I get the msgbox (which works properly when I exit the textbox), but if I never exit the textbox, but close the userform, the msgbox still displays. How can I suppress this from displaying if I'm still focus on the textbox?
[VBA]Private Sub Amnt_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If CCur(Amnt) > "$75.00" Then
MsgBox "Expenses over $75.00 requires to be substantiated.", vbInformation, "PerDiem Traveler"
frmReceipt.Show
End If
End Sub[/VBA]