abdelfattah
Well-known Member
- Joined
- May 3, 2019
- Messages
- 1,507
- Office Version
- 2019
- 2010
- Platform
- Windows
hi, expert
i need help the adjusted these codes
i have userform contains textbox1,2,3
the textbox1 :
Private Sub TextBox1_AfterUpdate()
TextBox1.Value = Format(TextBox1.Value, "####.00")
end sub
and textbox2:
Private Sub TextBox2_AfterUpdate()
TextBox2.Value = Format(TextBox2.Value, "#,###.00")
end sub
textbox3:
TextBox3.Value = Format(TextBox3.Value, "#,###.00")
end sub
here the textbox3 is not show the right result for instance when add the numbers textbox1 =500.00 and textbox2=1,250.00 it gives me textbox3=500
is there any way adjust code to give me right result in textbox3 = 625,000.00
i need help the adjusted these codes
i have userform contains textbox1,2,3
the textbox1 :
Private Sub TextBox1_AfterUpdate()
TextBox1.Value = Format(TextBox1.Value, "####.00")
end sub
and textbox2:
Private Sub TextBox2_AfterUpdate()
TextBox2.Value = Format(TextBox2.Value, "#,###.00")
end sub
textbox3:
TextBox3.Value = Format(TextBox3.Value, "#,###.00")
end sub
here the textbox3 is not show the right result for instance when add the numbers textbox1 =500.00 and textbox2=1,250.00 it gives me textbox3=500
is there any way adjust code to give me right result in textbox3 = 625,000.00
Last edited: