Combo Box to autofilter multiple items

freefallin

New Member
Joined
Mar 21, 2011
Messages
1
Hey guys,

I tried searching for this before posting, but came up a little short on this one. I have a database that has a column labeled "Category". This database is about 400 lines long and will continue to populate over time. What I would like to do, is create a macro button (or combo box) to allow a user to select only the categories they are interested in and then have that macro autofilter my main data sheet as well as my pivot tables based on it.

So far, I have created a drop down box (form control) that allows me to filter my pivot tables but only for one category at a time. I'd love to be able to have multiple categories if I can. I have not yet created a macro to filter my Main Data Sheet.

Any tips would be welcomed. I'm very new to macros and any coding so keeping it simple would be nice.

Thanks in advance!!!

John
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

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