There are 15 csv files. Each file has 8000 rows. In all files, column A contains either numerics or "Delete". Rows with the value "Delete" must be deleted. The following is more than slow. It's meaningless. Any other Suggestion?
For j = lastRow To 1 Step -1
If Wb1.Worksheets(1).Cells(j, 1).Value = "Delete" Then
Wb1.Worksheets(1).Rows(j).Delete
lastRow = Wb1.Worksheets(1).Cells(Cells.Rows.Count, "A").End(xlUp).Row
End If
Next j