Doing so opens a code console. Type the following code into the console, directly below the "Private Sub" text and directly above the "End Sub" text.   Text3.Text=val(Text1)+val(Text2) Double-click the Form1 option under the "Project1" heading on the right side of the page to do so. This will re-open the console. Type the following into the console:   Text3.Text=val(Text1)-val(Text2) This will re-open the console. Type the following into the console:   Text3.Text=val(Text1)*val(Text2) This will re-open the console. Type the following into the console:   Text3.Text=val(Text1)/val(Text2)

Summary:
Double-click the + button. Enter the addition code. Return to the calculator form. Double-click the - button. Enter the subtraction code. Double-click the x or * button. Enter the multiplication code. Double-click the / button. Enter the division code.