jorgito111
New Member
- Joined
- Jun 2, 2018
- Messages
- 2
Hi all,
I'm using Excel 2007.
I've created a form that contains a textbox for which a numerical input is expected.
My excel settings use the "," as decimal separator by default (this means that when I enter a value in an worksheet cell and I press the "." key in my keyboard's numberpad, a "," appears as decimal separator)
But when I to input a number in the textbox of my form and I press the "." key in my keyboard's numberpad, a "." appears instead of a ",".
This generates a problem because when I use the IsNumeric function to validate the information entered in the textbox, although it accepts it as a number, if the number has a "." instead of a "," as a decimal separator, it recognizes it as a different number than the one I originally intended to input. Example:
1.1 --> shows 11
1.11 --> shows 1.11 but considers it as a number bigger than 100
I'd appreciate your help on how to get a decimal separator in the textbox that matches the excel settings when press the "." key in my keyboard's numberpad. (so that any user, with any personal setting for the decimal separator, can use the form and enter numbers using its keyboard's numberpad)
Thank you!
I'm using Excel 2007.
I've created a form that contains a textbox for which a numerical input is expected.
My excel settings use the "," as decimal separator by default (this means that when I enter a value in an worksheet cell and I press the "." key in my keyboard's numberpad, a "," appears as decimal separator)
But when I to input a number in the textbox of my form and I press the "." key in my keyboard's numberpad, a "." appears instead of a ",".
This generates a problem because when I use the IsNumeric function to validate the information entered in the textbox, although it accepts it as a number, if the number has a "." instead of a "," as a decimal separator, it recognizes it as a different number than the one I originally intended to input. Example:
1.1 --> shows 11
1.11 --> shows 1.11 but considers it as a number bigger than 100
I'd appreciate your help on how to get a decimal separator in the textbox that matches the excel settings when press the "." key in my keyboard's numberpad. (so that any user, with any personal setting for the decimal separator, can use the form and enter numbers using its keyboard's numberpad)
Thank you!