All,
I have a worksheet (attached). I am trying (and failing) to write VBA Macro that when it runs, it automatically filters a column containing names. I need it to show only the rows where certain names are found in the Column. I have been able to get it to show with single names, but for some reason, it wont return the row if there is more than one name in the column.
For Example:
Column A
Thomas Smith
Thomas Smith, Jane Doe
John Doe
John Doe, Jimmy Jack
Sara Stealth
Sara Stealth, Jenny Dim
When the macro runs, it returns just the rows that are bolded, but should return all rows....here is the Code
Sub Macro1()
ActiveSheet.Range("$A$3:$K$143").AutoFilter Field:=6, Criteria1:=Array("Thomas Smith", _
"Jane Doe", "John Doe", "Jimmy Jack", "Sara Stealth", "Jenny Dim"), Operator:=xlFilterValues
End Sub