elotromateo
New Member
- Joined
- May 19, 2010
- Messages
- 42
I have a ListBox in a UserForm with values that I wish to use to filter a range in a worksheet. I tried using .List to create an array to filter, since that is what it uses to filter, but it gives a type mismatch. Is the .List not really an array, or is it organized differently?
Code:
ActiveSheet.Range("$A$1:$P$42").AutoFilter Field:=1, Criteria1:=GraphList.List, _
Operator:=xlFilterValues