I am writing a excel macro which require to get the input from user from the particular column and then filter the value based on user input.
Note:
1) The input should prompt for list box that will show all the values present in that column. 2) User can select multiple value one or more. 3) Based on user input filter the sheet and display the result.
Experts in Macro can you please advise.
I tried since the input values from user is dynamic(one or more selection) I am facing the challenge.
Range("B2").AutoFilter Field:=2, Criteria1:=Array("Selection1","Selection2"), Operator:=xlFilterValues