Hi guys,
How can I format the value of a TextBox to only except numeric values?
i want a user to be warned if the value is not according to the correct format.
Thank you all!Please Login or Register to view this content.
Hi guys,
How can I format the value of a TextBox to only except numeric values?
i want a user to be warned if the value is not according to the correct format.
Thank you all!Please Login or Register to view this content.
Hi,
One way
If the 2001 HAL spoken words get on your nerves just comment out the s.Speak linePlease Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
NICE!
Thank you for the help! i think the voice might be over the top, but you taught me something new today. Great.
There is something else I wanted to know: how can I further format the numeric value as follows:
limit the numbers to maximum 4 digits
add a thousand space (X XXX)
automatically add "," and 2 decimals (X XXX,XX)
Cheers!
Like so:
assuming the settings you mentioned are your regional settings.Please Login or Register to view this content.
Remember what the dormouse said
Feed your head
Thank you, Rory!
My code has changed a bit, and I am using a Function now.
Where and how can I add this line:
to my new code? I have tried various ways, but am not sure whether to use Else or If or Next ....Please Login or Register to view this content.
Please Login or Register to view this content.
Last edited by onmyway; 01-27-2015 at 04:00 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks