abdelfattah
Well-known Member
- Joined
- May 3, 2019
- Messages
- 1,429
- Office Version
- 2019
- 2010
- Platform
- Windows
hello
I try adding specific currency to numbers into textbox i would show the number in textbox like this LYD 120,000.00
this is my try
I try adding specific currency to numbers into textbox i would show the number in textbox like this LYD 120,000.00
this is my try
VBA Code:
Private Sub TextBox1_Change()
With Me.TextBox1
Dim s As Currency
s = LYD
If IsNumeric(.Value) Then .Value = Format(.Value, "#,##0.00" & s)
End With
End Sub