+ Reply to Thread
Results 1 to 4 of 4

Macro to filter on dates in a pivot table

  1. #1
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Macro to filter on dates in a pivot table

    If you take a look at the attached spreadsheet please.

    What I am trying to do is use the front sheet to drive the other sheets - which are all pivot tables.

    So each month the pivot table may be a different size, however, the date filter will always be in the same cell, and I will always want to filter on date only, to match that selected on the front sheet

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-02-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    104

    Re: Macro to filter on dates in a pivot table

    put the code in Front sheet view code ,both the values should be same Worked for me I tried this !! month name should match with the C4 with no spaces and format should be same

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: Macro to filter on dates in a pivot table

    Thanks however nothing is happenning when I change the date

  4. #4
    Forum Contributor
    Join Date
    06-02-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    104

    Re: Macro to filter on dates in a pivot table

    Hey, You should incorporate this code in your sheet as per your attachment as I don't have your datasheet through which you draw pivot,See this attachment
    Attached Files Attached Files

+ 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. Filter Pivot Table Based on Current Dates
    By mrblue1123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2016, 06:47 PM
  2. Pivot Table - Grouping dates using Report Filter
    By swaza in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-18-2015, 09:44 AM
  3. VBA Code to filter rolling dates from a pivot table
    By RavenousQbert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2014, 11:28 AM
  4. [SOLVED] VBA code to filter on Specific two dates ( pivot table)
    By tejal in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-24-2014, 03:36 PM
  5. 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
  6. Filter Pivot Table between dates referenced in cell
    By tkleypas13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2013, 04:42 PM
  7. Auto update pivot table filter dates
    By kaitco in forum Excel General
    Replies: 5
    Last Post: 11-19-2010, 01:40 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