+ Reply to Thread
Results 1 to 3 of 3

How to Pass >1 element into a Page Filter of a Pivot Table using VBA through a ListBox

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    How to Pass >1 element into a Page Filter of a Pivot Table using VBA through a ListBox

    Dear Forum,

    I am creating a Pivot Table for my office report, I am working on the Performance Report and need to prepare the YTD Performance Report beginning from Apr-18 till Jul-18.
    I need to make 4 separate reports i.e. Apr-18, Apr-18 and May-18, Apr-18, May-18 and Jun-18, Apr-18, May-18, Jun-18 and Jul-18.

    Now I have a column in YTD Data where I have these months, I have also managed to create a Unique List but I don't know to pass these elements into the Page Filter using VBA as shown above.

    I need help to create a list box where I can store and then select them at Run-Time and then pass it on to the Pivot Table.

    Can someone please help me with the code..

    Please Login or Register  to view this content.
    Due to the sensitive nature of the data I cannot share the file immediately...


    Thanks in advance

    Regards
    e4excel

  2. #2
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to Pass >1 element into a Page Filter of a Pivot Table using VBA through a ListBox

    Please can someone help me on this portion...I need to do a lot of such YTDS for several different Roles...SO any help would be greatly appreciated...

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to Pass >1 element into a Page Filter of a Pivot Table using VBA through a ListBox

    Bumping this thread

+ 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. Replies: 4
    Last Post: 01-04-2017, 04:53 AM
  2. Excel 2007 Issue : How To Get ListBox Items To Filter Pivot Table?
    By Peytonput in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-23-2016, 12:13 PM
  3. [SOLVED] ListBox to filter Pivot Table
    By DomSza in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-18-2015, 08:07 AM
  4. VBA Pivot Table Page Filter for OLAP Pivot
    By Bstone2015 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2015, 10:54 AM
  5. Replies: 0
    Last Post: 03-09-2011, 04:45 PM
  6. Problem setting pivot table page filter
    By VoiceOver in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2007, 09:47 AM
  7. [SOLVED] How do I set up filter for page fields in pivot table?
    By Mitsycat in forum Excel General
    Replies: 3
    Last Post: 05-06-2005, 06: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