I have been using excel vba to develop some forms...I have been using text box values as values in my comutations...However since in some cases i need to format the text to a given decimal place i am loosing precision. So my solution is to assign the values to variables and format during the transision from variable to text box....for instance In the example below i am assigning a value to a text box in another form...along these lines how would i assign a value to a variable in a private sub linked to a different form..
'rad is a double variable
Time_of_Concentration_Form.tb_hydro_rad_CHF5 = rad
'this works fine
Time_of_concentration_form.private sub main (local Variable) = rad
'this i can't do