Hello. I need help in figuring out what is wrong with my code. I'm a vb beginner so bear with me. I'm trying to create a calculate command button. My simple application involves the following.
Textbox1 = 50
Textbox2 = 100
Textbox3 = 60
Calculate Button that would display the result in textbox4.
Here's my code.
TextBox4.Text = Val(TextBox7) + (TextBox5) + (TextBox6) * (1.15)
Unfortunately this produces "219" which is wrong. The
correct answer is "241.50".
Please help.
Thanks
RookieDBO
Textbox1 = 50
Textbox2 = 100
Textbox3 = 60
Calculate Button that would display the result in textbox4.
Here's my code.
TextBox4.Text = Val(TextBox7) + (TextBox5) + (TextBox6) * (1.15)
Unfortunately this produces "219" which is wrong. The
correct answer is "241.50".
Please help.
Thanks
RookieDBO