Enzo_Matrix
Board Regular
- Joined
- Jan 9, 2018
- Messages
- 113
I have some code and I want to change the search parameters to an array so I can find "shipped" and "partial - shipped" but not too sure how. Can someone please take a look and give me some guidance?
VBA Code:
Sub DeleteRows()
Dim c As Range
Dim SrchRng
Set SrchRng = ActiveSheet.Range("D1", ActiveSheet.Range("D65536").End(xlUp))
Do
Set c = SrchRng.Find("shipped", LookIn:=xlValues)
If Not c Is Nothing Then c.EntireRow.Delete
Loop While Not c Is Nothing
End Sub