+ Reply to Thread
Results 1 to 3 of 3

autofilter display data more than 2 values

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    autofilter display data more than 2 values

    Hi,

    I am writing a macro that displays the data for the values: "CD", "DGFZ", "DGRB" and "DGFZ". However, if i add more than 2 values the macro won't work. How can i add two values to the code and let the macro show the right data?
    This macro works but only for 2 values and not 4.

    Please Login or Register  to view this content.
    Any input is much appreciated!

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: autofilter display data more than 2 values

    You can use Array like
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    Re: autofilter display data more than 2 values

    Works perfect. Thanks.

+ 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] AutoFilter dynamic sort / refresh on new data values
    By huyza_0100 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2017, 10:31 PM
  2. autofilter results to display in cell
    By 13lack13lade in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-04-2013, 09:07 PM
  3. Trouble copying autofilter data to listbox based on combobox values
    By Blackbeginnings in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2013, 10:48 AM
  4. Display autoFilter criteria
    By MrGadget in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-30-2010, 09:40 PM
  5. Display autofilter definition?
    By oscil8 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2008, 08:33 PM
  6. Autofilter, status bar display
    By rlb3292 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2007, 03:48 PM
  7. [SOLVED] Way to display filtered results from more than one autofilter per
    By GS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2006, 07:10 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