Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm and TextBox Arithmetic
I have 3 TextBox on an UserForm: TextBoxTotal, TextBoxA, and TextBoxB
On the UserForm I have the associated VBA code: TextBoxTotal.Vallue = TextBoxA.Value + TextBoxB.Value. I cannot get the arithmetic sum. However, I get the logical union How do I get the arithmetic sum using operations on TextBox's? -- Tomo |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm and TextBox Arithmetic
Tomo,
Something like TextBoxTotal.Text = cStr(cdbl(TextBoxA.Text)+cdbl(TextBoxB.Text)) Robin Hammond www.enhanceddatasystems.com "t_hayata" wrote in message ... I have 3 TextBox on an UserForm: TextBoxTotal, TextBoxA, and TextBoxB On the UserForm I have the associated VBA code: TextBoxTotal.Vallue = TextBoxA.Value + TextBoxB.Value. I cannot get the arithmetic sum. However, I get the logical union How do I get the arithmetic sum using operations on TextBox's? -- Tomo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
TEXTBOX in USERFORM | Excel Programming | |||
userform textbox | Excel Worksheet Functions | |||
Textbox in userform | Excel Programming | |||
Textbox in userform | Excel Programming | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming |