I'll have to test it (in my spare time... I'm freakin busy)... but as a guess
it should be close enough make no practical difference...
--
HTH...
Jim Thomlinson
"Ron de Bruin" wrote:
Hi Jim
I never test it with very big files Jim but I think your code is faster ?
--
Regards Ron de Bruin
http://www.rondebruin.nl
"Jim Thomlinson" wrote in message
...
Question for you Ron. I was under the impression that doing a find / find
next with a union was about the fastest way to delete... Your site shows some
code for doing the delete via filtering. Which one is faster???
--
HTH...
Jim Thomlinson
"Ron de Bruin" wrote:
I have add a few things here that will help
http://www.rondebruin.nl/delete.htm
--
Regards Ron de Bruin
http://www.rondebruin.nl
"BEEJAY" wrote in message ...
Looking for suggestion on how to change the following as required,
to greatly improve speed of operation.
Without the following: about 5-6 seconds
WITH the following: about 30 seconds.
Dim LastRow As Long
Application.ScreenUpdating = False
LastRow = ActiveSheet.Cells(Rows.Count, "B").End(xlUp).Row
For RowNdx = LastRow To 1 Step -1
If Cells(RowNdx, "B").Value = "x" Then
Rows(RowNdx).Delete
End If
Next RowNdx