N
Newbie
Hi,
I have a userform with a textbox and the following in the AfterUpdate event:
If Not IsNumeric(Me.txtBill.Value) Then
MsgBox "This needs to be a number", vbExclamation, "Input Error"
Me.txtBill.Value = ""
Me.txtBill.SetFocus
However this does not set the focus back to the txtBill
What am I doing wrong?
Thanks
I have a userform with a textbox and the following in the AfterUpdate event:
If Not IsNumeric(Me.txtBill.Value) Then
MsgBox "This needs to be a number", vbExclamation, "Input Error"
Me.txtBill.Value = ""
Me.txtBill.SetFocus
However this does not set the focus back to the txtBill
What am I doing wrong?
Thanks