C
colm o'brien
I have a textbox on a user form which asks for a price from the user.
I want this value to be used in a calculation and sales tax calculated from
the gross price and then placed in a bookmark in the letter.
I know how to put the value in the letter but how can i do the calculation.
eg: Premium = 125.45 this is entered as text. how do i convert to currency
and perform calculation (125.45/105*5) to give the sales tax
sales tax is 5% therefore premium is 105% of original price.
If i call salestax ipt i can insert the value at bookmark but how do i
define variables.?
I want this value to be used in a calculation and sales tax calculated from
the gross price and then placed in a bookmark in the letter.
I know how to put the value in the letter but how can i do the calculation.
eg: Premium = 125.45 this is entered as text. how do i convert to currency
and perform calculation (125.45/105*5) to give the sales tax
sales tax is 5% therefore premium is 105% of original price.
If i call salestax ipt i can insert the value at bookmark but how do i
define variables.?