This should delete all columns E:K and
shiftup when...
So not delete all rows...
But as was mentioned earlier this coding causes it to run slow so is there another way to do it.
Making use of sample file supplied in post 14 and suggested helper column with formula
Sub sintekJ3v16()
Dim Data, Arr
With Range("E9:L" & Cells(Rows.Count, 6).End(xlUp).Row)
.Columns(8).Formula = "=AND(I9=""Till Difference CASH "",OR(AND(-5<H9,H9<0),AND(0<G9,G9<5)))"
Data = Filter(Evaluate("Transpose(If(" & .Columns(8).Address & "=FALSE,row(1:" & .Rows.Count & ")))"), False, 0)
If UBound(Data) > -1 Then Arr = Application.Index(.Value, Application.Transpose(Data), Array(1, 2, 3, 4, 5, 6, 7))
.ClearContents
End With
Range("E9").Resize(UBound(Arr, 1), 7) = Arr
End Sub
Bookmarks