Hi, I'm working with the following VBA to remove text/blank but its very slow when working with larger data files. Is there a way to make it faster?
For i = Lastline To 1 Step -1
If Not IsNumeric(Cells(i, 1).Value) Then Rows(i).Delete
If Cells(i, 1) = "" Then Rows(i).Delete
Next i
For i = Lastline To 1 Step -1
If Not IsNumeric(Cells(i, 1).Value) Then Rows(i).Delete
If Cells(i, 1) = "" Then Rows(i).Delete
Next i