السلام عليكم
ان كان المقصود نكمل
Dim LR, LR2 As Integer
With Sheets(1)
LR = .Cells(1000, 1).End(xlUp).Row + 1
For i = 1 To 6
If IsNumeric(Me.Controls("textbox" & i)) Then
.Cells(LR, i) = Val(Me.Controls("TextBox" & i))
Else
.Cells(LR, i) = Me.Controls("TextBox" & i)
End If
Next i
End With
'----------------------------------------------------
With Sheets(2)
LR2 = .Cells(1000, 1).End(xlUp).Row + 1
For i = 1 To 6
If IsNumeric(Me.Controls("textbox" & i)) Then
.Cells(LR, i) = Val(Me.Controls("TextBox" & i))
Me.Controls("TextBox" & i).Value = ""
Else
.Cells(LR, i) = Me.Controls("TextBox" & i)
Me.Controls("TextBox" & i).Value = ""
End If
Next i
End With
Me.TextBox1.SetFocus
TryThisOneDear.rar