Modify Pivot using user selected list

Paul L

New Member
Joined
Dec 22, 2009
Messages
3
Hello. I have a spreadsheet which will include several pivot tables. The user will be able to select a field in another sheet and the pivots (through VBA) will then include those fields. What I'd like to try and set up is the ability to have them choose multiple items (outside of the pivot table) and then have the pivot table show or hide pivot items based on their selections. For example, they want to see PivotField A. A list will show up for them and allow them to select multiple items from that list (similar to if they were adjusting the pivot table itself). When they are done with their selections, a macro would run and modify each of the pivot tables to show those certain items and hide the others. Does anyone have a way to accomplish this?

Thanks

Paul
 
Andrew, thank you for the quick reply. Does this allow Multiple selection? The user will need to be able to select multiple items from a list and not just a single item.
 
Upvote 0
No, because you can only select one item from a Page field (Excel 2000). To allow multiselecting you would need a ListBox.
 
Upvote 0
Right, so do you have a good solution using a listbox with similar functionality. That is ultimately the goal. To use a listbox, to enable multiple selection, which would then show only those items in that field in the pivot tables.

Thanks
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top