I can't find you posting for speeding up the deletion of rows. the bes
way I've hound in the pasdt is to put an "X" in an auxilary column fo
the rows I want to delete. the sort the auxilary column brining th
"X"s to the top of the worksheet. then deleting the rows with the x's.
It is a lot of code, but it runs very quick since it uses optimize
methods in VBA. Here is an example
Sub Macro1()
Range("IV1").Formula = "=if(A1 > 5,X,Y)"
'then copy the formula down the entire column
LastRow = Range("A" & Rows.Count).End(xlUp)
Range("IV1").Copy _
Destination:=Range("IV1:IV" & LastRow)
'Next replace formula in column IV with value
Range("IV1:IV" & LastRow).Copy
Range("IV1:IV" & LastRow).PasteSpecial Paste:=xlPasteValues
'Next sort on Row IV
Rows("1:" & LastRow).Sort _
header:=xlYes, _
key1:=Range("IV1"), _
Order:=xlAscending
'Now all you have to do is delete the X's.'asume these is a header row
Columns("IV").AutoFilter
Columns("IV").AutoFilter Field:=1, Criteria1:="X"
Rows("2:" & LastRow).SpecialCells(Type:=xlCellTypeVisible).Delete
Columns("IV").Delete
End Su