+ Reply to Thread
Results 1 to 4 of 4

Pivot Table Autorefresh

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    5

    Exclamation Pivot Table Autorefresh

    Hi All,

    I work in HR and have a nice raw data set that I have to treat and display as ergonomically as possible. To be able to do this I have taken my raw data and created a pivot table. This pivot table is the source for another sheet that conducts a VLOOKUP for specific data data sets so that it may be compared to a grand total and see the effect each smaller data set has on that total.

    To make things easier, I have inserted segments.

    That VLOOKUP sheet is the base data for another pivot table, that includes calculated fields needed to asses the weight of each indicator against the whole. I would like this last pivot table to refresh automatically whenever I click on a segment that is linked to the first pivot table and thus automatically changes the VLOOKUP sheet on which the last pivot is based.

    I've tried several maccros but none of them work. The best one I've found only updates my pivot when I go to another sheet and then back. I'm sure this must be possible.

    I appreaciate any and all help!!!!

    Thank you!!!!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Pivot Table Autorefresh

    Please attach a sample file, so we can help you easily.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    02-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Pivot Table Autorefresh

    ActiveSheet.PivotTables("PivotTable1").PivotCache.Refresh

    use this before your vlookup? also if the pivot table is on a different sheet you can use worksheet.pivot......

  4. #4
    Registered User
    Join Date
    02-14-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pivot Table Autorefresh

    Here is the file.

    Thanks for any help
    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. Replies: 2
    Last Post: 09-09-2013, 01:13 PM
  2. HELP - Autorefresh and Copy
    By sam32600 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2013, 04:09 PM
  3. [SOLVED] AutoRefresh 5-7 Pivots within a Workbook. Is it possible?
    By spiwere in forum Excel Charting & Pivots
    Replies: 24
    Last Post: 01-27-2013, 08:56 AM
  4. [SOLVED] Change and autorefresh pivot table as per the selection (Very tough one )
    By amitav in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2012, 10:51 AM
  5. Autorefresh a List
    By raghav.k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-27-2011, 09:44 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