Rockinfreakapottamus
New Member
- Joined
- Aug 30, 2022
- Messages
- 2
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- Platform
- Windows
Hi, i'm having trouble with values in a textbox.
I have multiple textboxes that i need to enter/display currency values like the following for example: $100,000.00 I managed to enter/display only the comma separator for thousand, million, etc, but i cant find a way to enter/display the decimal separator (dot), the code i use for the comma separator and $ is the following:
Can anyone bring me some help with this?
I have multiple textboxes that i need to enter/display currency values like the following for example: $100,000.00 I managed to enter/display only the comma separator for thousand, million, etc, but i cant find a way to enter/display the decimal separator (dot), the code i use for the comma separator and $ is the following:
VBA Code:
TextBox1.Value = Format(TextBox1.Value, "$###,##")
Can anyone bring me some help with this?