Hello,
I am using VBA arrays to select certain options in the list.
For Example the Code below Selects five people in the table. What I want to do with the array is to select everything excluding the options already selected. So instead of selecting these five people, select everything else in the column.
Range("Table1[[#Headers],[People]]").Select
ActiveSheet.ListObjects("Table1").Range.AutoFilter Field:=1, Criteria1:= _
Array("Person 14", "Person 10", "Person 3", "Person 4", "Person 5"), Operator:= _
xlFilterValues
Thank you,
I am using VBA arrays to select certain options in the list.
For Example the Code below Selects five people in the table. What I want to do with the array is to select everything excluding the options already selected. So instead of selecting these five people, select everything else in the column.
Range("Table1[[#Headers],[People]]").Select
ActiveSheet.ListObjects("Table1").Range.AutoFilter Field:=1, Criteria1:= _
Array("Person 14", "Person 10", "Person 3", "Person 4", "Person 5"), Operator:= _
xlFilterValues
Thank you,