VBA, Autofilter, multiple items

brucemc

New Member
Joined
Aug 6, 2003
Messages
33
In learning about using autofilter through vba, I believe I read that the maximum items I can stipulate are two.

What I want to do is have a list of approx 15 students on a worksheet that would be filtered from a master list of perhaps several hundred or more students.

a) Is my understanding of two items to use as filters per column correct?

b) Anyone know of an example that could take a list of about 15 names, perhaps as a named range, and use that as a filter for the rows out of a table; i.e., Name, StreetAddress, Zip, Phone, Grade?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Thank-you. It might have simply been an older article, I am on 2010. I think I found something that has me on a good path, but I am afraid of citing the page as I don't recall if doing so will violate any of the board rules and I have become gun-shy of that kind of thing. It is from an area/programmer named chandoo!
 
Upvote 0
There is no problem with citing Chandoo.org here. Of course if you cross-posted and found a solution you should have mentioned that at the outset.
 
Upvote 0

Forum statistics

Threads
1,214,393
Messages
6,119,261
Members
448,880
Latest member
aveternik

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