+ Reply to Thread
Results 1 to 2 of 2

Select first value (regardless of the value) from pivot table filter.

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Select first value (regardless of the value) from pivot table filter.

    Hello,

    I am working with School data and each school can have a range of year levels (e.g primary = 3, 4, 5, secondary = 7, 8,9 or combined (3-9).

    I'm using VBA to generate multiple reports for these schools but was hoping I could add some additional code to be applied to some of my pivot table filter/slicers.

    Is there a way I can code the macro to always select the first Pivot Table item of a set Pivot Table field?

    I've only been able to solve this in a very clunky way and it doesn't cover all the combinations of schools I have neatly.

    An example of what I have now

    HTML Code: 
    Last edited by kaylac; 06-25-2018 at 08:59 PM.

  2. #2
    Registered User
    Join Date
    03-24-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Select first value (regardless of the value) from pivot table filter.

    Found the answer elsewhere

    For reference C is how many values from the bottom you want to make visible.

    HTML Code: 

+ 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: 6
    Last Post: 12-18-2017, 05:04 PM
  2. [SOLVED] Select Automatic Report Filter in Pivot where Filter exist in Data table else select Blank
    By vinaynaran in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2016, 08:47 AM
  3. Replies: 8
    Last Post: 06-24-2014, 03:35 PM
  4. Select Multiple Dates In Report Filter Pivot Table But Dates Are Not Static
    By biasedobserver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2014, 03:38 PM
  5. Select (ALL) in a pivot table filter
    By amphinomos in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-15-2013, 12:41 PM
  6. 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
  7. Select and unselect items in a filter in pivot table
    By TPFKAS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-10-2010, 09:39 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