I really don't know what's going on, the account gave an amount that I don't know how it was calculatedIf an empty textbox is not a valid input, you need to handle that in whatever manner is appropriate - eg treat it as 0, or flag it as an error to the user.
I tried to convert the variables, do you think this will work?If an empty textbox is not a valid input, you need to handle that in whatever manner is appropriate - eg treat it as 0, or flag it as an error to the user.
Y2_Axis_Orig_D = CInt(Y2_Axis_Orig_D)
Z_550_Orig_D = CInt(Z_550_Orig_D)
how can i do the reverse? in this case pass an integer variable to a "variant" variableAs long as the variable contains something that can be converted to an integer, yes.
Just assign it to the variable. A Variant can contain anything.