Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi there i use userform to sum the entered numbers into the same userform Code: -------------------- Private Sub CommandButton1_Click() If Label1.Caption = "" Then Label1.Caption = TextBox1.Value TextBox2.Value = TextBox1.Value Else: Label1.Caption = Label1.Caption & vbCr Label1.Caption = Label1.Caption & TextBox1.Value TextBox2.Value = TextBox2.Value + TextBox1.Value End If TextBox1.Value = "" End Sub -------------------- but this line: Code: -------------------- TextBox2.Value = TextBox2.Value + TextBox1.Value -------------------- put the numeric values next to each other i need to sum them insted ? -- helmekki ------------------------------------------------------------------------ helmekki's Profile: http://www.excelforum.com/member.php...fo&userid=6939 View this thread: http://www.excelforum.com/showthread...hreadid=486630 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Looping procedure calls userform; how to exit loop (via userform button)? | Excel Programming | |||
Max numbers of characters in userform textbox and cell | Excel Programming | |||
Activating userform and filling it with data form row where userform is activate | Excel Programming | |||
Access from add_in userform to main template userform.... | Excel Programming | |||
add numbers in textboxes on userform | Excel Programming |