Try this
...and have a good weekend...Code:Private Sub Command1_Click() Dim txt1 As Single Dim txt2 As Single txt1 = CSng(Text1.Text) txt2 = CSng(Text2.Text) Label1.Caption = Str(txt1 + txt2) End Sub![]()
|
Results 1 to 3 of 3
Thread: How sum 2 textbox ?Threaded View
|
Click Here to Expand Forum to Full Width |