Spurious Excel bug with userforms - solved - unable to enter more than three digits

sijpie

Well-known Member
Joined
Nov 1, 2008
Messages
4,269
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Just in case anybody runs into a similar issue.

I have developed a workbook with a large userform for data editing. Some of the users noticed that in some fields they could not enter more than 3 digits. In those fields I have a textbox_change macro running that prevents entering of decimals.
Another thing they noticed was that messages or labels containing a number such as 120,000 would truncate after 120.

As I developed with regional settings English UK, and these users had regional settings Romania, I thought it may have something to do with the difference in thousands- and decimalseparators.

Changing the regional settings made no difference, but then I noticed in File/Options/Advanced that under 'Use system separators, even though it was ticked and should ignore what was in the boxes, the separators in the boxes where both '.'
Changing one of them to a comma resolved the issue.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,225,563
Messages
6,185,708
Members
453,316
Latest member
mani_mech031

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top