Can I just add "Application.Calculation = xlManual" to the beginning and "Application.Calculation = xlAutomatic" to the end of my macro, below. It is taking for ever to run it because it's getting very large. Thank you.
Sub ProcessCash()
lR = Cells(Rows.Count, "A").End(xlUp).Row
For R = lR To 2 Step -1
If Cells(R, 4) = Cells(R - 1, 4) And Cells(R, 11) = Cells(R - 1, 18) Then
Rows(R).Delete
Rows(R - 1).Delete
ElseIf Cells(R, 4) = Cells(R - 1, 4) And Cells(R, 10) + Cells(R, 11) = Cells(R - 1, 18) Then
Rows(R).Delete
Rows(R - 1).Delete
End If
Next R
End Sub
Sub ProcessCash()
lR = Cells(Rows.Count, "A").End(xlUp).Row
For R = lR To 2 Step -1
If Cells(R, 4) = Cells(R - 1, 4) And Cells(R, 11) = Cells(R - 1, 18) Then
Rows(R).Delete
Rows(R - 1).Delete
ElseIf Cells(R, 4) = Cells(R - 1, 4) And Cells(R, 10) + Cells(R, 11) = Cells(R - 1, 18) Then
Rows(R).Delete
Rows(R - 1).Delete
End If
Next R
End Sub