AlanAnderson
Board Regular
- Joined
- Jun 7, 2010
- Messages
- 134
Hi All,
I have the following data validation routine. I am getting erratic behaviour within my programme that seems somehow linked to this.
Is there a problem with this or should i be looking elsewhere?
Regards,
Alan
I have the following data validation routine. I am getting erratic behaviour within my programme that seems somehow linked to this.
Is there a problem with this or should i be looking elsewhere?
Regards,
Alan
Code:
Private sub tbTaxYN_Change()_
If UCase (tbTaxYN) = "Y" or UCase (tbTaxYn) = "N" then
Goto EndProc:
Else
MsgBox "Please enter either a Y or a N"
End if
EndProc:
End sub