Hey all
trying to set up an error handler that raises an error if anything but a number is input into a text box it raises an error... Ive already got my error handler set up and working beautifully its just this im struggling with
Thanks
Guirg
trying to set up an error handler that raises an error if anything but a number is input into a text box it raises an error... Ive already got my error handler set up and working beautifully its just this im struggling with
Code:
If IsNumeric(Me.txtMin.value) = False Then
Raise.Err 1
End If
If IsNumeric(Me.txtMax.value) = False Then
Raise.Err 1
End If
If IsNumeric(Me.txtMIN_1.value) = False Then
Raise.Err 1
End If
If IsNumeric(Me.txtMAX_1.value) = False Then
Raise.Err 1
End If
Thanks
Guirg