+ Reply to Thread
Results 1 to 6 of 6

VBA to control filter date in multiple pivot tables

Hybrid View

  1. #1
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: VBA to control filter date in multiple pivot tables

    Hi Harvey

    Note the reason why i said it was plausible not definite
    i created that sample in order to show it how it was plausible
    without something to work on its impossible to tell as VBA pivot tables is finicky

    Breaking down what my code does
    there is a loop that loops every pivot table
    within that loop another loop that goes thru all the pivot table field
    checks the filter value to see if pivot table field exist in the pivot table
    if it doesn't exist...hide that value
    goes on hiding all lines and if it reaches the last line and doesnt find anything....clears all filters (this is what i am talking about in the 2nd post)

    anyway i digress,
    what i do mean to say is that this code is tailor made specific
    you cant just plonk it in anywhere and hope it works

    so unless you have a example sheet i can work with....i wouldn't know how to tell you know to fix it

    ie
    Attach a sample workbook. Remember to desensitize the data.
    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    View Pic

    i stress the bold bit
    Last edited by humdingaling; 06-03-2015 at 01:31 AM. Reason: wording
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. One filter/ Master filter multiple pivot tables based on worksheet...
    By jlworden in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-10-2013, 11:16 AM
  2. Duplicate Report Filter and Row Labels Filter Across Multiple Pivot Tables
    By tash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 05:32 PM
  3. Filter several pivot tables by one programmed date range filter in Excel 2003
    By olewka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2011, 11:49 AM
  4. Multiple pivot tables 1 filter to control all
    By Cjax in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-11-2011, 02:52 PM
  5. Replies: 3
    Last Post: 06-23-2009, 01:36 PM

Tags for this Thread

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