End If If count = 1 Then Cells(lastrow, 1) = TextBox1.Value Cells(lastrow, 2) = TextBox2.Value Cells(lastrow, 3) = TextBox3.Value Cells(lastrow, 4) = TextBox4.Value Cells(lastrow, 5) = TextBox5.Value Cells(lastrow, 6) = TextBox6.Value End If Next End Sub
Private Sub cmdClear_Click()
�TextBox1 = �� �TextBox2 = �� �TextBox3 = �� Dim ctl As Control
For Each ctl In UserForm1.Controls
If TypeName(ctl) = �TextBox� Then ctl.Value = �� End If Next ctl