Thanks for the sample code it really helps.
I made a few changes for you.
Sub runme2()
Dim lRow As Long, lastRowE As Long
Sheets("Sheet1").Select
lRow = Sheets("Sheet1").Range("C" & Rows.Count).End(xlUp).Row
lastRowE = Sheets("Sheet2").Range("E" & Rows.Count).End(xlUp).Row
For Each cell In Range("C2:C" & lRow)
On Error GoTo docopy
r = Rows(Application.Match(cell.Value, Sheets("Sheet2").Range("E1:E" & lastRowE), 0)).Row
Next
Exit Sub
docopy:
cell.EntireRow.Copy Sheets("Sheet3").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
Resume Next
End Sub
it works perfectly !!!!