السلام عليكم
الكود بعد التعديل
Sub Tarheel()
Cells(3, 2).Select
Range(Cells(5, 11), Cells(ActiveSheet.UsedRange.Rows.Count, 14)).ClearContents
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For i = 1 To Application.WorksheetFunction.CountA(Range(Cells(5, 2), Cells(ActiveSheet.UsedRange.Rows.Count, 2)))
TV = ActiveCell.End(xlDown).Row
TR = Cells(Rows.Count, 11).End(xlUp).Row + 1
Cells(TR, 11) = Cells(TV, 2)
Cells(TR, 12) = Cells(TV, 3)
Cells(TR, 13) = Cells(TV, 4)
Cells(TR, 14) = Cells(TV, 9)
ActiveCell.End(xlDown).Select
Next
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
____3.rar