Hello, I have a Sub here for deleting any entire row, where "http" is NOT found throughout column B. There are about 45,000 rows of data that its searching and its taking a very long time. Is there a way I can change the current code to speed up the process, the code is below. Thanks!
Mark
Sub DeleteRowsHttp()
Application.ScreenUpdating = False
For Each Cell In Range("B:B")
If InStr(1, Cell.Value, "http") = 0 Then
Cell.EntireRow.Delete
End If
Next Cell
Application.ScreenUpdating = True
End Sub
Mark
Sub DeleteRowsHttp()
Application.ScreenUpdating = False
For Each Cell In Range("B:B")
If InStr(1, Cell.Value, "http") = 0 Then
Cell.EntireRow.Delete
End If
Next Cell
Application.ScreenUpdating = True
End Sub