Hi all
I am using the following VAB Code to check and delete unwanted Rows. But the data I have is about 30,000-40,000 lines, and it takes a long time to run. Is there a quicker way?????
[vba] Do While (Cells(Row, 1).Value <> "")
If Left(Cells(Row, 1), 8) = "List all" Then
Cells(Row, 1).Select
Selection.EntireRow.Delete
ElseIf Cells(Row, 1) = "RSOBranchName" Then
Cells(Row, 1).Select
Selection.EntireRow.Delete
ElseIf Cells(Row, 7) <> "Overdue" Then
Cells(Row, 1).Select
Selection.EntireRow.Delete
Else
Row = Row + 1
End If
Loop
[/vba]
Thanx in Advance
Grant