A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Looking at your macro, it occured to me that you have Keywords to search for in column A and not in column G as I thought.
I have swithched the references now so it should be working now!
Your macro is absolutely not as efficient as mine, but it can be speeded up a bit if we turn off screenupdating and set calculation to manual temporary. (I have used the same approach in the macro below):
Sub testIt()
Dim FullList As Range
Dim SearchList As Range
Dim FilterRng As Range
Dim TargetRng As Range
Dim cell As Range
With Application
.ScreenUpdating = False
.Calculation = xlCalculationManual
End With
Set FilterRng = Range(Range("G1"), Range("G1").End(xlDown))
Set SearchList = Range(Range("A2"), Range("A2").End(xlDown)) 'Header in A1
Set TargetRng = Range(Range("G2"), Range("G2").End(xlDown))
Cells.Interior.Pattern = xlNone
For Each cell In SearchList
FilterRng.AutoFilter Field:=1, Criteria1:="=*" & cell.Value & "*"
If FilterRng.SpecialCells(xlCellTypeVisible).Count > 1 Then
TargetRng.SpecialCells(xlCellTypeVisible).EntireRow.Interior.Color = 65535 'Yellow
End If
Next
FilterRng.AutoFilter
With Application
.ScreenUpdating = True
.Calculation = xlCalculationAutomatic
End With
End Sub