2
Contributors
4
Replies
16
Views
4 Years
Discussion Span
Last Post by rishif2
0

ok you can do that using lostfocus()

Private Sub Text2_LostFocus()
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub

when you lost focus from textbox2 then it will fire code written inside lostfocus()

hope this helps you . . .

0

thanx rishif2 one more question..where should i put the code? in textbox2? thanx again for helping newbies in programming

0

thanx
happy to see that someone really getting helps.
please mark this thread solved(you can do it by pressing the button in left bottom saying Mark Question Solved).

Edited by rishif2

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.