+ Reply to Thread
Results 1 to 7 of 7

VBA to Auto Filter Slicers

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    VBA to Auto Filter Slicers

    Hello,

    I wanted to have one of my slicers only show 2 of the options.

    Im not sure if this is possible by regular settings so is there a code to put when the filter is cleared to auto filter those 2 options?

    slicer has "Interco", "Direct" and "Indirect" and I only want the "Direct" and "Indirect" to show in my charts, never Interco.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: VBA to Auto Filter Slicers

    Purge the "Interco" from the actual data, and then the slicers will not show it.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: VBA to Auto Filter Slicers

    Sorry im not sure what you mean.

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: VBA to Auto Filter Slicers

    Delete the RAW data that you don't want in the slicer.

  5. #5
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: VBA to Auto Filter Slicers

    Then it would show up as "blank" in the slicer

  6. #6
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: VBA to Auto Filter Slicers

    Not if you removed it from the Data range.

    Process the data, not he slicer is what I am telling you I would do.

  7. #7
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: VBA to Auto Filter Slicers

    Got itt!!!! Finally!

    Thanks for your help!

+ 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. Timeline to filter with Slicers
    By PFDave in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-23-2016, 10:25 AM
  2. slicers vs. filter
    By stephme55 in forum Excel General
    Replies: 1
    Last Post: 02-08-2016, 07:36 PM
  3. Slicer filters don't work properly
    By BDD2015 in forum Excel General
    Replies: 1
    Last Post: 05-22-2015, 12:51 AM
  4. Filter Multiple Tables with one set of Slicers
    By palmer266 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2015, 09:04 PM
  5. Having slicers also filter a main data sheet
    By manzier in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2014, 12:29 PM
  6. Using Timelines/Slicers to filter 2 Pivot Tables
    By eightythree in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-03-2014, 04:12 PM
  7. Use combobox value to filter Pivot Table like slicers using VBA
    By limalf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2013, 07:31 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