Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel autofilter

Status
Not open for further replies.

mqhopewell

Programmer
Joined
Jul 29, 2002
Messages
2
Location
GB
Hi,

Using Excel, a user can turn on autofilter. This will allow a drop down box. What I want is to get the items in this drop down box (without "All", "Top 10" or "Custom".

Just wondering if anyone knows how or has a piece of code to get this list?

Many thanks,

Michael
 
Hi, MIchael,

If you go to Data, Filter, Advanced Filter, choose Copy to another location; then Under "list range", select all the items in you column; in "Copy to" indicate where you want the resulting list; lastly, check "Unique records only" checkbox.

You will have your list extracted.

HTH

Indu I will stop procrastinating tomorrow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top