Tim Francis Wright - More Help Please
Posted by Anna Daly on November 21, 2000 10:45 AM
Hi Tim
Thanks for your help you gave on summing integer values in textboxes. You suggested that I used:
TextBox4.Value = Val(TextBox1.Value) + Val(TextBox2.Value) + Val(TextBox3.Value)
This does work but there is a problem with the number formats. The textboxes that I am summing have been assigned the number format of #,##0. I think that when I am using the method that you suggested it thinks the comma is a decimal place and therefore gives the wrong answear. eg
if textbox2.value =8,000 and textbox3.value = 1
it gives textbox1.value = 9
when it should be = 8,001
any ideas on how to overcome this little problem?
Kind regards
Anna Daly