just looking for guidance on how I might speed up one of my VBA query's (if condition is met then move the entire row to the bottom)
This is what have so far and it works, but its really slow (sheet with only approx 400 rows takes approx 5 mins to run)
Sub Running_Sort()
Application.ScreenUpdating = False
Dim i As Integer
Dim lr As Long
lrow = Range("D" & Rows.Count).End(xlUp).Row
For i = lrow To 6 Step -1
If Cells(i, 15).Value = "Survey" Then
Range(Cells(i, 4), Cells(i, 15)).Cut
Sheets("Running").Range("D" & Rows.Count).End(3)(2).Insert
End If
Next
Application.CutCopyMode = False
Application.ScreenUpdating = True
End Sub
I've turned off screen updating and also changed from copying the entire row to just the columns that I need but they haven't made much of a difference.
Sorry if i sound idiotic, I'm self taught and still learning daily so feel free to school me if I've made a blatant error or missed something obvious:)