Not sure where you want to paste in Sheet2, but here are two examples. The first inserts into Sheet2 at the same row that it is found in the activesheet and shifts all other rows down. The second cuts and pastes just below the last non-blank row found in column C.
Sub test2a()
Dim btext As String
btext = InputBox("Insert in a text", "This accepts any input")
For i = Cells(Rows.Count, 3).End(xlUp).Row To 6 Step -1
With Cells(i, 3)
If Not IsEmpty(.Value) Then
If InStr(.Value, btext) <> 0 Then
Rows(i).EntireRow.Cut
Sheets("Sheet2").Cells(i, 1).Insert shift:=xlDown
End If
End If
End With
Next i
End Sub
Sub test2b()
Dim btext As String
Dim lnLastRow As Long
btext = InputBox("Insert in a text", "This accepts any input")
For i = Cells(Rows.Count, 3).End(xlUp).Row To 6 Step -1
With Cells(i, 3)
If Not IsEmpty(.Value) Then
If InStr(.Value, btext) <> 0 Then
With Sheets("Sheet2")
lnLastRow = .Range("C" & Rows.Count).End(xlUp).Row
Rows(i).EntireRow.Cut Destination:=.Cells(lnLastRow + 1, 1)
End With
End If
End If
End With
Next i
End Sub
Bookmarks