I pasted your code into a test project, and it always set the focus back to the txtLongDecimal text box, regardless of the input. I recommend setting a breakpoint at the beginning of your subroutine to see if it is being called.
If the subroutine is not being called, use the following...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.