Hi, John,
I donīt know to be honest. But if I see a code like
With ThisWorkbook.Sheets("Call Data").Range("O:O")
Iīd go the way to use
Sub DoodlesMama()
With Sheets("Call Data")
.Range("O1:O" & .Range("O" & Rows.Count).End(3)(1).Row).AutoFilter 1, "=PO#*"
.Range("O1:O" & .Range("O" & Rows.Count).End(3)(1).Row).SpecialCells(xlCellTypeVisible).EntireRow.Delete
.AutoFilterMode = False
End With
End Sub
to avoid any possible other activesheet or
Sub DoodlesMama2()
With Sheets("Call Data")
.Range("O1", .Range("O" & Rows.Count).End(3)(1)).AutoFilter 1, "=PO#*"
.Range("O1", .Range("O" & Rows.Count).End(3)(1)).SpecialCells(xlCellTypeVisible).EntireRow.Delete
.AutoFilterMode = False
End With
End Sub
Ciao,
Holger
Bookmarks