If the contents of the text boxes ar numeric, (12345) then try this:
Private Sub Label1_Click()
'Both textboxes contain 12345
Label1.Caption = Int(Text1.Text) + Int(Text2.Text)
End Sub
It should produce ...... 24690
If the contents of the text boxes are alphanumeric, (abcdef) then try this:
Private Sub Label1_Click()
'Both textboxes contain abcdef
Label1.Caption = Text1.Text & " " & Text2.Text
End Sub
It should produce ...... abcdef abcdef
"Logit" <jd*******************@alltel.net> wrote in message
news:cg***********@fe05.atl2.webusenet.com...
Try :
Private Sub Label1_Click()
Label1.Caption = Text1.Text + Text2.Text
End Sub
If you are wanting to add numerical figures in Text1
and Text2, that will require other code. Hopefully,
this will get you started.
--
Thanks !
Jim
[ lo*****@yahoo.com to reply directly ]
"If you are living like there is no God ...
... you better be right !"