+ Reply to Thread
Results 1 to 3 of 3

VBA Update Pivot Chart based on lists - data set in another sheet

  1. #1
    Registered User
    Join Date
    03-24-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    15

    VBA Update Pivot Chart based on lists - data set in another sheet

    I hope someone can help.

    Tab: Dashboard holds the 2 lists.
    Tab : Custom Filter holds a data set which gets filtered based on what selections are done via Dashboard

    Based on the selection from Dashboard, the data set changes in Custom Filter.
    A Pivot Table in Custom Filter was created to reference this change. (This is so that I do not have to make various Pivot Tables for every selection). A Pivot Chart was created and placed in Dashboard.

    As soon as a change in either of the lists in Dashboard is done and the data set in Custom Filter has been automatically changed. I want the Pivot Table and Chart to be refreshed.


    Please Login or Register  to view this content.

    I have the following code which holds no errors but the Pivot Table in Custom Filter is not refreshing meaning the Pivot Chart in Dashboard is not refreshing.

    Thoughts?

  2. #2
    Registered User
    Join Date
    03-24-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    15

    Re: VBA Update Pivot Chart based on lists - data set in another sheet

    UPDATE:

    I got the following code to work:


    Please Login or Register  to view this content.
    However, I need to implement another line which says something like

    Please Login or Register  to view this content.
    But I get an error...

  3. #3
    Registered User
    Join Date
    03-24-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    15

    Re: VBA Update Pivot Chart based on lists - data set in another sheet

    UPDATE:

    Following code works for me:

    Please Login or Register  to view this content.

+ 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: 8
    Last Post: 02-21-2018, 05:25 PM
  2. [SOLVED] Update Pivot Table/Chart based on selection for a list box
    By cinstanl in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-23-2016, 11:58 AM
  3. Transfer/update columns from 1 sheet to another + update chart & data selection
    By Julien355 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2015, 11:54 PM
  4. Chart not updated until chart sheet opened following source data update
    By untilyesterday in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-24-2013, 12:27 PM
  5. Update All Pivot in sheet based on 1 filter
    By piyush85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2011, 03:26 PM
  6. How to select/update new data for a Pivot Chart?
    By gqchynaboy in forum Excel General
    Replies: 3
    Last Post: 11-28-2011, 06:51 PM
  7. Update Pivot Chart when table is on different sheet using macro
    By pranjala25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2011, 05:14 AM

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