+ Reply to Thread
Results 1 to 2 of 2

PivotTable: Adding Page Filters

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    PivotTable: Adding Page Filters

    First, the code:
    Please Login or Register  to view this content.
    My problem is with this part here:
    Please Login or Register  to view this content.
    I need it to filter on anything beginning with 2613, not just 261302. Unfortunately, I do not know all the possible inclusions or I could just add them individually, so I need a wildcard to add to this filter and I have never done that.

    Thus, I ask how to write a wildcard filter that will work in this pivottable.

    Thanks!

  2. #2
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: PivotTable: Adding Page Filters

    I am hoping for a more elegant solution, but here is one that works, in case anyone has a similar issue.

    Please Login or Register  to view this content.
    Commenting out the .CurrentPage filter from the beginning (it can be deleted, but I left it so you can see the difference from the previous post), I immediately have it sort through ALL the possible PivotItems and turn those that do not meet my criteria to not be visible (.Visible = False).

    Still hoping for a better way to do it, but if nothing else, this works.

+ 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. PivotTable: change multi report filters code
    By saudi_red_neck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:40 AM
  2. referring to selected values from listbox that filters pivottable
    By Datas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 02:37 PM
  3. Updating PivotTable filters based on other cell value
    By dalew in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-12-2012, 08:18 PM
  4. Replies: 9
    Last Post: 02-26-2012, 07:20 AM
  5. Excel 2007 : PivotTable: how to manage filters?
    By Luk3tto in forum Excel General
    Replies: 0
    Last Post: 06-19-2009, 07:19 AM

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