Sub Del_Rows()
Dim Rng As Range
Dim i As Long
Application.ScreenUpdating = False
Set Rng = Sheets("Sheet1").Range("A1:A1000")
With Sheets("Sheet2")
For i = 20 To 1 Step -1
If WorksheetFunction.CountIf(Rng, .Cells(i, 1)) > 0 Then .Cells(i, 1).EntireRow.Delete
Next i
End With
Application.ScreenUpdating = True