The code below moves a single row to a new sheet but i need it to move all of them. For example ill have 11-1, 11-2, 11-3, 12-1, 12-2, 12-3 etc and it needs to move all the 11s at once.
Sub Findandcut()
Dim rw As Long
Dim lastrow As Long
For rw = 1000 To 2 Step -1
lastrow = Worksheets("Sheet2").UsedRange.Rows(Worksheets("Sheet2").UsedRange.Rows.Count).row
With Worksheets("Sheet1")
' Check if "save" appears in the value anywhere.
If .Cells(rw, 1).Value Like "*11*" Then
' Cut the value and then blank the source and shift up
.Cells(rw, 2).EntireRow.Cut Destination:=Worksheets("Sheet2").Cells(lastrow, 1)
'.Cells(rw, 2).EntireRow.Delete (xlUp)
End If
End With
Next
End Sub