+ Reply to Thread
Results 1 to 3 of 3

How to Check/Uncheck "Select All" in Pivot table Filter - VBA

  1. #1
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    How to Check/Uncheck "Select All" in Pivot table Filter - VBA

    My first question is how can I deselect "Select All" when filtering in a pivot table? This is my attempt but it does not work:


    Please Login or Register  to view this content.
    More importantly, how can I create a macro to select/deselect items in a pivot table filter that may not always be in that specific workbook? For example, one workbook that I might run the following macro on may not have one of the filter options such as "RSell" or "RBSell." Now when I run the macro on that workbook it gives me an error because those options of "RSell" or "RBSell" do not exist. I am trying to create a universal macro so how can I just skip over the fact that sometimes the filter options below may not be available? I thought the "On Error" function would solve that but it does not.

    Please Login or Register  to view this content.
    Thanks guys

  2. #2
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: How to Check/Uncheck "Select All" in Pivot table Filter - VBA

    Anyone have any idea?

  3. #3
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: How to Check/Uncheck "Select All" in Pivot table Filter - VBA

    Bumping this up

+ 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] Filter Pivot Table with a fixed value called "TOTAL" in Pivot Field Name
    By trizzo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2015, 12:57 PM
  2. Replies: 3
    Last Post: 03-06-2014, 04:44 PM
  3. removing "Select All" and limiting filter choices in a Pivot table
    By jettabar99 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-25-2013, 09:07 AM
  4. Disable "Select Multiple Items" in a Pivot Filter
    By FixandFoxi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2013, 06:19 AM
  5. Filter report in pivot table with "greater than" and "less than"
    By gygabyte017 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-29-2012, 08:08 AM
  6. Uncheck "Select Multiple Items" in a Pivot Table Using Code (Excel 2007)
    By delecto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2009, 12:41 PM
  7. "Criteria Range" in the "Data/Filter/Advanced Filter" to select Du
    By TC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-11-2005, 10:06 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