This works on a loop.
From the way I understand you #6 post, it should do what you have in mind.
Sub Maybe_A()
Dim lr1 As Long, lr2 As Long, lr3 As Long, i As Long
Application.ScreenUpdating = False
lr1 = Cells(Rows.Count, 2).End(xlUp).Row
For i = lr1 To 4 Step -1
If Range("B" & i) = "Sell" Or Range("B" & i) = "sell" Then Range("B" & i).Offset(, -1).Resize(, 5).Copy _
Range("F" & Rows.Count).End(xlUp)(2): Range("B" & i).Offset(, -1).Resize(, 5).Delete Shift:=xlUp
Next i
lr2 = Cells(Rows.Count, 1).End(xlUp).Row
With Range("A3:E" & lr2)
.Sort Key1:=Range("A1"), Order1:=xlAscending, Key2:=Range("B1") _
, Order2:=xlAscending, Header:=xlYes, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom
End With
lr3 = Cells(Rows.Count, 6).End(xlUp).Row
With Range("F3:J" & lr3)
.Sort Key1:=Range("F1"), Order1:=xlAscending, Key2:=Range("G1") _
, Order2:=xlAscending, Header:=xlYes, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom
End With
Application.ScreenUpdating = True
End Sub
Bookmarks