+ Reply to Thread
Results 1 to 3 of 3

Determine Selected Pivot Table Page Range Filters

  1. #1
    Forum Contributor
    Join Date
    07-13-2007
    Posts
    151

    Determine Selected Pivot Table Page Range Filters

    I'm trying to find a way to determine which items have been selected to Filter a Pivot Table at the Report filter Level.

    In the immediate window, I've gotten as far as finding that:

    Please Login or Register  to view this content.
    What I'm after is what those "Multiple Items" are So that I can display them elsewhere on my sheet. IN my example, I'm using the Report filter selection to facilitate turning on and off different "Options" from the data set. So the user can use the check boxes to have "Option A' , and "Option C" displayed simultaneously for example.

    I want to be able to pull whatever choices the user as selected. Any ideas on how to do this?

    Thanks,

    Shred
    Last edited by ShredDude; 07-01-2010 at 05:20 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Determine Selected Pivot Table Page Range Filters

    The terminology used in the above implies you're using a version >= XL2007 in which case you will find you can iterate the various Items of the various Report Filters and test the visible status of each
    (you can not do this pre XL2007 without modifying the orientation of the report filter)

    There are quite a few posts around regards controlling multiple pivots from one, which though are not relevant here, do contain the various bits you're interested in...
    ie looping the report filter items, validating which Items are visible etc...

    http://www.excelforum.com/2190122-post8.html

  3. #3
    Forum Contributor
    Join Date
    07-13-2007
    Posts
    151

    Re: Determine Selected Pivot Table Page Range Filters

    Donkey:

    Thanks for the reply. Yes I'm using Excel 2007.

    That's kind of what I was hoping for, but I hadn't been able to successfullly identify them in the object model yet. The following doesn't show any filters active:

    Please Login or Register  to view this content.

    ...and this gives me an error...

    Please Login or Register  to view this content.
    This worked though...

    Please Login or Register  to view this content.
    Thanks for the link, that pointed me in the right direction!

    Shred

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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