PoggiPJ
Active Member
- Joined
- Mar 25, 2008
- Messages
- 330
How could you modify the following format statement so that the UserForm will always display properly regardless of the user's country settings? All users will run the same application copy, so I cannot make different versions with the appropriate code for that country.
For example, in the UK, I need this to display as 1,234 but in the US, I need it to display as 1.234
Right now, all I see is a blank userform field.
Code:
Dim RateFactor As Single
RateFactor = 1.234
userform.variable = Format(RateFactor, "number")
Right now, all I see is a blank userform field.
Last edited: