Why "at one time"? I don't think you're going to get that... But if you use:
Option Explicit Sub Del_Rows() Dim rCnt, R Sheets("Data").Select Range("A1").Select Application.ScreenUpdating = False rCnt = ActiveCell.SpecialCells(xlLastCell).Row For R = rCnt To 1 Step -1 If (R Mod 1000 = 0) Then Application.StatusBar = R If (IsError(Cells(R, "G").Value)) Then Cells(R, 1).EntireRow.Delete End If Next R Application.ScreenUpdating = True Application.StatusBar = False End Sub I processed 3,000 records (and removed 1,000) in about 30 seconds Paul S ________________________________ From: Prabhu <prabhugate...@gmail.com> To: excel-macros@googlegroups.com Sent: Fri, April 15, 2011 6:29:18 AM Subject: $$Excel-Macros$$ Macro Help in Excel 2007? Macro Help in Excel 2007? I want to delete particular rows only in my work sheet which contains #N/A in a particular column? Assuming the column containing the #N/A errors is column A, and i need to delete the entire row where '#N/A' if found in column A. Plz help with macro code which should delete enter #N/A at one time not line by line. Regards, Prabhu-- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel