You are on page 1of 1

Private Sub TextBox1_Change()

Range("A2").Select

ActiveCell.FormulaR1C1 = TextBox1

End Sub

Private Sub CommandButton1_Click()

Selection.EntireRow.Insert

TextBox1 = ""

TextBox2 = ""

TextBox3 = ""

TextBox1.SetFocus

End Sub

Private Sub TextBox2_Change()

Range("B2").Select

ActiveCell.FormulaR1C1 = TextBox2

TextBox3 = Val(TextBox2) * 365

End Sub

Private Sub ToggleButton2_Click()

End

End Sub

You might also like