sumar dos text
Hola.. en estas oportunidad tengo esta duda !
Se puede sumar dos text ?
Ejemplo
text1 = 0000
+
text2 = 0010
-----------------
text3 = 0010
un abrazo Sebastian
Gracias....
Se puede sumar dos text ?
Ejemplo
text1 = 0000
+
text2 = 0010
-----------------
text3 = 0010
un abrazo Sebastian
Gracias....
Coloca tres textbox y un commandButton
Private Sub Command1_Click()
Text3 = Format(CLng(Text1) + CLng(Text2), "0000")
End Sub
Private Sub Form_Load()
Text1 = "0000"
Text2 = "0010"
End Sub
Private Sub Command1_Click()
Text3 = Format(CLng(Text1) + CLng(Text2), "0000")
End Sub
Private Sub Form_Load()
Text1 = "0000"
Text2 = "0010"
End Sub
