Hi...
How to add 4+6 when you use two textbox, the first textbox is for the input and the other one if for the output..
How to add 4+6 when you use two textbox, the first textbox is for the input and the other one if for the output..
Private Sub command1_click() text2.text= val(text2) + val(text1) text1.text="" end sub
Private Sub command1_click() text2.text= val(text2) + val(text1) text1.text="" end sub
Text1.Text=val(Text1.Text)+val(text2.text)
i=1 c=0 Do While c=0 If (i=Len(Trim(Text1)) Then Exit Do End If If (mid(Text1,i,1)='+' ) Then Text2=val(mid(Text1,1,i-1))+val(mid(Text1,i+1) c=1 End If i=i+1 Loop
Comment