Hi Everyone.
Can anyone help me have a code for a numeric textbox that accepts minus (negative) sign.
Thanks in advance.
Hi Everyone.
Can anyone help me have a code for a numeric textbox that accepts minus (negative) sign.
Thanks in advance.
GUURE
If you are reffering to a textbox in a form - ALL textboxes are always text and as such will accept all value if you want to use the data within as numbers you will need to convert it to one of the number formats
ie:
![]()
Please Login or Register to view this content.
Thanks for your reply.
it is in userform.
I used this code
but unfortunately it also rejects negative values.![]()
Please Login or Register to view this content.
is there any solution to accept it??
thanks
add some additional checks
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks