الف شكر تم حل المشكلة لكن هناك مشكلة اخرى عند ترحيل البيانات للشيت يتم الترحيل وعند اضافة بيانات اخرى لا ينقل للسطر الثانى بل يتم الكتابة علي نفس السطر ويتم كتابة البيانات الجديدة مكانها
Private Sub CommandButton6_Click() If UserForm1.TextBox10.Value = "" Or UserForm1.TextBox11.Value = "" Or UserForm1.TextBox12.Value = "" Or UserForm1.TextBox13.Value = "" Or UserForm1.TextBox14.Value = "" Or UserForm1.TextBox15.Value = "" Then MsgBox "من فضلك ادخل البيانات كاملة" Else End If Worksheets("sheet2").Cells(8, 3).Value = TextBox10.Value Worksheets("sheet2").Cells(8, 4).Value = TextBox11.Value Worksheets("sheet2").Cells(8, 5).Value = TextBox12.Value Worksheets("sheet2").Cells(8, 6).Value = TextBox13.Value Worksheets("sheet2").Cells(8, 7).Value = TextBox14.Value Worksheets("sheet2").Cells(8, 8).Value = TextBox15.Value TextBox10.Text = "" TextBox11.Text = "" TextBox12.Text = "" TextBox13.Text = "" TextBox14.Text = "" TextBox15.Text = "" TextBox10.SetFocus End Sub
التطوير.rar