Hi, I am trying to delete rows in a list if one of the cells does not equal certain text. I think I am being stupid. At present I am using the code:
Range("d65536").End(xlUp).Select
While ActiveCell.Row > 1
If ActiveCell Like "*=*" Then ActiveCell.EntireRow.Delete
ActiveCell.Offset(-1, 0).Select
Wend
But I want the row to be deleted if the Active cell DOES NOT have certain text in it. Can someone quickly help me.
Thanks
Range("d65536").End(xlUp).Select
While ActiveCell.Row > 1
If ActiveCell Like "*=*" Then ActiveCell.EntireRow.Delete
ActiveCell.Offset(-1, 0).Select
Wend
But I want the row to be deleted if the Active cell DOES NOT have certain text in it. Can someone quickly help me.
Thanks