Is there a way to get a userform's combo box values and store them in a variable?
For my particular project I'm using pivot table fields to filter a pivot table and running through each pivot item in the field to test if that entry is relevant, if so show it in the drop down. IE customer filter above a product filter, if the customer has ordered a particular product show that product in the combo box, if not don't.
My problem here is that for big lists this takes a long time. One pivot field always starts with the customer's name and then has other parameters. I'd like to take the customer's name and store that and then only test the pivot items starting with that name. Also, i'd like to be able to do this for more than one customer and test against all selected names.
Any ideas here? I greatly appreciate it.
For my particular project I'm using pivot table fields to filter a pivot table and running through each pivot item in the field to test if that entry is relevant, if so show it in the drop down. IE customer filter above a product filter, if the customer has ordered a particular product show that product in the combo box, if not don't.
My problem here is that for big lists this takes a long time. One pivot field always starts with the customer's name and then has other parameters. I'd like to take the customer's name and store that and then only test the pivot items starting with that name. Also, i'd like to be able to do this for more than one customer and test against all selected names.
Any ideas here? I greatly appreciate it.