View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas Gary Keramidas is offline
external usenet poster
 
Posts: 2,494
Default userform addition

in a userform i am trying to add some fields together, but it concatenates
the fields together instead of adding them

if textbox 1 is 10 and textbox2 is 5

me.textbox1.value + me.textbox2.value gives me 10 5
-me.textbox1.value*-1 + -me.textbox2.value*-1 gives me 15

multiplication works, too, just not addition

anyone know why?
--


Gary