Option Explicit
Sub exa1()
Dim REX As Object
Dim lLRow As Long, i As Long
lLRow = Cells(Rows.Count, "A").End(xlUp).Row
If lLRow < 2 Then Exit Sub
Set REX = CreateObject("VBScript.RegExp")
With REX
.Global = False
.IgnoreCase = True '<---change to suit
.Pattern = "^(MISC|OFFICE|BULK|FORWARD)$"
For i = lLRow To 2 Step -1
If .Test(Cells(i, "A").Value) Then Rows(i).Delete
Next
End With
End Sub
Sub RemoveValues()
Dim rngCell As Range
Dim lngLastRow As Long, lngRow As Long
lngLastRow = Range("C" & Rows.Count).End(xlUp).Row
For lngRow = lngLastRow To 2 Step -1
Select Case Range("C" & lngRow)
Case "MISC", "OFFICE", "BULK", "FORWARD"
Range("C" & lngRow).Delete Shift:=xlUp
End Select
Next lngRow
End Sub
Maybe:
Hope that helps,Rich (BB code):Option Explicit Sub exa1() Dim REX As Object Dim lLRow As Long, i As Long lLRow = Cells(Rows.Count, "A").End(xlUp).Row If lLRow < 2 Then Exit Sub Set REX = CreateObject("VBScript.RegExp") With REX .Global = False .IgnoreCase = True '<---change to suit .Pattern = "^(MISC|OFFICE|BULK|FORWARD)$" For i = lLRow To 2 Step -1 If .Test(Cells(i, "A").Value) Then Rows(i).Delete Next End With End Sub
Mark