Hello I am new to VB and am teaching myself. I am wanting to perform a simple calculation. Two text boxes (one for a price and the other for a quantity) which will subsequently display a total price in a third text box. Two activate the total I will press a button called calculate. Can anyone help with this as I have a tried a few codes and am getting a coding error. I am using a dim statement for my variables: Dim price, qty, total As Double (is double the correct data type to use?) Please help Thank you