Try this instead. I suggest that you test on a copy of your workbook.
<font face=Courier New><br><SPAN style="color:#00007F">Sub</SPAN> Delete_Rows()<br><SPAN style="color:#00007F">Dim</SPAN> mySheet <SPAN style="color:#00007F">As</SPAN> Worksheet<br><br>Application.ScreenUpdating = <SPAN style="color:#00007F">False</SPAN><br>Application.EnableEvents = <SPAN style="color:#00007F">False</SPAN><br><SPAN style="color:#00007F">Set</SPAN> mySheet = Sheets("Sheet1")<br><SPAN style="color:#00007F">With</SPAN> mySheet<br> .Columns("G").Insert<br> <SPAN style="color:#00007F">With</SPAN> .Range("G1", .Range("F" & Rows.Count).End(xlUp).Offset(, 1))<br> .Formula = "=ISNUMBER(MATCH(F1,Sheet3!G$5:G$10,0))"<br> .Value = .Value<br> mySheet.UsedRange.Sort Key1:=mySheet.Range("G2"), Order1:=xlAscending, _<br> Header:=xlYes, OrderCustom:=1, MatchCase:=False, _<br> Orientation:=xlTopToBottom, DataOption1:=xlSortNormal<br> .AutoFilter Field:=1, Criteria1:=<SPAN style="color:#00007F">True</SPAN><br> .Offset(1).EntireRow.Delete<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br> .Columns("G").Delete<br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br>Application.EnableEvents = <SPAN style="color:#00007F">True</SPAN><br>Application.ScreenUpdating = <SPAN style="color:#00007F">True</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br></FONT>