Private Sub Text16_Exit(Cancel As Integer)
If IsNumeric(Me.Text16) = False Then
MsgBox "This isn't numeric"
Me.Text16 = ""
Else
Exit Sub
End If
End Sub
Pedie
What data type is the field that's the control source of this textbox?
If it's Numeric Access won't allow the user to enter a number.
You don't really need code to do that - this isn't a userform.