E
Ed
I'm trying to have this piece of code delete rows that non-numeric. I
thought this
would work but it does not run.
Any ideas or other options?
T.I.A.
Sub Step08_Non_Ship()
Dim LastRow As Long
Dim i As Long
LastRow = Range("A12000").End(xlUp).Row
For i = LastRow To 1 Step -1
If IsText(Range("D" & i).Value) Then
Range("A" & i).EntireRow.Delete
End If
Next 'i
End Sub
thought this
would work but it does not run.
Any ideas or other options?
T.I.A.
Sub Step08_Non_Ship()
Dim LastRow As Long
Dim i As Long
LastRow = Range("A12000").End(xlUp).Row
For i = LastRow To 1 Step -1
If IsText(Range("D" & i).Value) Then
Range("A" & i).EntireRow.Delete
End If
Next 'i
End Sub