السلام عليكم
تم تعديل كود الفورم
Private Sub CommandButton1_Click()
LastRow = Cells(Rows.Count, "a").End(xlUp).Row + 1
Cells(LastRow, 1) = ComboBox1.Value
Cells(LastRow, 2) = TextBox1.Value
Cells(LastRow, 3) = TextBox2.Value
For i = 1 To 6
If Me.Controls("CheckBox" & i) Then
Cells(LastRow, 4) = Cells(LastRow, 4) & T & Me.Controls("CheckBox" & i).Caption
T = " + "
End If
Next
For ii = 8 To 10
If Me.Controls("CheckBox" & ii) Then
Cells(LastRow, 5) = Cells(LastRow, 5) & R & Me.Controls("CheckBox" & ii).Caption
R = " + "
End If
Next
Unload Me
End Sub
New folder (3).zip