Good afternoon,

I have a textbox that I have generating an error message if the user enters a non-numeric number. This works fine but what I want to also happen is that the text in the textbox is highlighted when the user clicks okay on the error message. For example

Private Sub Textbox1_change()
If not isnumeric(textbox1) then
msgreturn = msgbox("It has to be a number")

'Some code that highlights the value in textbox1
End if

End Sub

Any thoughts?
Thanks!
dw