adding textboxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krhoover
    New Member
    • Oct 2006
    • 2

    #1

    adding textboxes

    I am trying to add two textboxes together to get a sum result and put it into another textbox. So far I have not had any luck.

    Any suggestions? I am new to VB.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by krhoover
    I am trying to add two textboxes together to get a sum result and put it into another textbox. So far I have not had any luck.
    Any suggestions? I am new to VB.
    It may depend a bit on the VB version. But assuming you mean a numeric sum, and not a string concatenation, you could probably do somethiing like
    Code:
    Text1 = Format(Val(Text2) + Val(Text3))

    Comment

    Working...