السلام عليكم
عساه يكون المطلوب (تجريب ايضا)
Sub ÒÑ7_äÞÑ()
Dim cell As Range
For x = 9 To 42
z = 6
For y = 6 To 12
If Sheets("الفرق").Cells(x, y) = "ت" Then
Sheets("التأخر").Select
B = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row + 1
ActiveSheet.Cells(B, z).Value = Sheets("الفرق").Cells(8, y)
ActiveSheet.Cells(B, z - 1).Value = Sheets("الفرق").Cells(6, 9)
ActiveSheet.Cells(B, 1).Value = Sheets("الفرق").Cells(x, 1)
ActiveSheet.Cells(B, 2).Value = Sheets("الفرق").Cells(x, 2)
ActiveSheet.Cells(B, 3).Value = Sheets("الفرق").Cells(x, 3)
ActiveSheet.Cells(B, 4).Value = Sheets("الفرق").Cells(x, 4)
End If
z = z + 2
Next y
Next x
End Sub
_______________2.rar