Hi,
I am asking for help how to change the macro:
Sub Bolts()
With ActiveSheet
.AutoFilterMode = False
With Range("a8", Range("a" & Rows.Count).End(xlUp))
.AutoFilter 1, "*Bolts*"
On Error Resume Next
.Offset(1).SpecialCells(12).EntireRow.Delete
End With
.AutoFilterMode = False
End With
End Sub
This macro finds and removes the specific rows with the word "Bolts"
Can you show me how to change this macro so that macro can also delete rows with many words (such as: cable, radio).
To macro delete rows with words like: "Bolts", "Cable", "radio"
Sorry for my English,. I'm still learning.
Thank You
I am asking for help how to change the macro:
Sub Bolts()
With ActiveSheet
.AutoFilterMode = False
With Range("a8", Range("a" & Rows.Count).End(xlUp))
.AutoFilter 1, "*Bolts*"
On Error Resume Next
.Offset(1).SpecialCells(12).EntireRow.Delete
End With
.AutoFilterMode = False
End With
End Sub
This macro finds and removes the specific rows with the word "Bolts"
Can you show me how to change this macro so that macro can also delete rows with many words (such as: cable, radio).
To macro delete rows with words like: "Bolts", "Cable", "radio"
Sorry for my English,. I'm still learning.
Thank You