+ Reply to Thread
Results 1 to 4 of 4

Dropdown autofilter vba code

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Dropdown autofilter vba code

    Hello people, i am asking you one more time for help. im a now using this code

    Please Login or Register  to view this content.
    and in cell B5 i want to have a dropdown to select for one of the values of column B. In this column there are 300 records. but just 8 different. so i want a dropdown with 8 different values for the 300 records. who can help me with a code to add in this code?

    Thanks

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Dropdown autofilter vba code

    You can use a macro like this: I have assumed that you list in column B starts in row 12, though I'm not sure why you're only autofiltering up to row 34.

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    09-09-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dropdown autofilter vba code

    It is not working, I get a error 400 if i run this macro, is it also possible to use combofilter for the dropdown? and which code do i need to use.

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Dropdown autofilter vba code

    The macro worked for me - so what line gives the error? Is your worksheet or workbook protected? Is the sheet filtered at the time that you run the code? Does it work in a new workbook/worksheet?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] loop through autofilter dropdown
    By Jack in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2006, 07:38 AM
  2. Autofilter Dropdown Nonfunctional
    By Ben in forum Excel General
    Replies: 0
    Last Post: 08-07-2006, 02:15 PM
  3. [SOLVED] Autofilter Dropdown Nonfunctional
    By [email protected] in forum Excel General
    Replies: 0
    Last Post: 08-07-2006, 02:10 PM
  4. Replies: 3
    Last Post: 08-09-2005, 05:05 PM
  5. [SOLVED] Why is font so small in the autofilter dropdown
    By gary2582 in forum Excel General
    Replies: 1
    Last Post: 06-24-2005, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1