I want my textbox to only accept integers and display an error message anytime any letters or other characters are entered, is there a simple piece of coding to do this? e.g
if txtGuess = string then
msgbox("please enter a number")
end if
if txtGuess = string then
msgbox("please enter a number")
end if