Hi
Wondered if someone can help
I've got the following code
It basically goes through Sheet Swansea and if it finds PO in Column B it deletes the Entire Row. This works fine, but my title row (Row 3) has PO in it so it deletes this row too. Is there a way to stop the next I at row 4?
Thanks in advance
Anthony
Wondered if someone can help
I've got the following code
Code:
If Sheets("Data").Range("u11").Value > 1 Then
Sheets("Swansea").Select
Last17 = Cells(Rows.Count, "D").End(xlUp).Row
For i = Last17 To 1 Step -1
If (Cells(i, "b").Value) = "PO" Then
Cells(i, "A").EntireRow.Delete
End If
Next i
End If
It basically goes through Sheet Swansea and if it finds PO in Column B it deletes the Entire Row. This works fine, but my title row (Row 3) has PO in it so it deletes this row too. Is there a way to stop the next I at row 4?
Thanks in advance
Anthony