Private Sub CommandButton1_Click()
derlin = Range("A" & Rows.Count).End(xlUp).Row + 1
Range("A" & derlin) = TextBox1.Value
Range("B" & derlin) = TextBox2.Value
Unload Me
End Sub
Private Sub CommandButton2_Click()
UserForm1.Hide
End Sub
Private Sub TextBox1_Change()
Dim TextBox1 As Date
End Sub