+ Reply to Thread
Results 1 to 2 of 2

Pivot table - Unable to navigate to source data from pivot table

  1. #1
    Registered User
    Join Date
    02-19-2016
    Location
    US
    MS-Off Ver
    2007
    Posts
    74

    Pivot table - Unable to navigate to source data from pivot table

    Hi All,

    I got code to dynamically change the range of pivot table from one of the external website and below is the code:

    Please Login or Register  to view this content.
    The above code is taking source data range dynamically. But the problem is, if I double click on any row field, am getting pop up warning as below:
    powarn.jpg

    As per the pop up warning, am manually refreshing all the pivot tables as below:
    pide.png

    After searching over the internet, found that enabling "Save source data with file" from pivot table options --> Data fixes the issue but still I end up with same pop up warning everytime I close and open the workbook.
    Pivot table options:
    piop.jpg

    I will be glad if I get some explanation that though VBA has below line of code to refresh pivot table, why get warning pop up and also possible fix.
    Please Login or Register  to view this content.
    It will be helpful if I get fix that works within VBA instead of me doing these settings manually everytime.

    Regards,
    Richa

  2. #2
    Registered User
    Join Date
    02-19-2016
    Location
    US
    MS-Off Ver
    2007
    Posts
    74

    Re: Pivot table - Unable to navigate to source data from pivot table

    I fixed the issue myself and here is the code. Hope it helps someone in future:

    To refresh Pivot
    Original Code:
    Please Login or Register  to view this content.
    Replaced with below:
    Please Login or Register  to view this content.
    To save source data, added below code:
    Please Login or Register  to view this content.
    Regards,
    Richa

+ 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: 0
    Last Post: 01-06-2016, 07:00 AM
  2. Replies: 0
    Last Post: 08-14-2013, 06:31 AM
  3. [SOLVED] VBA to change data source of pivot table to another pivot table
    By huyeote1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-28-2012, 07:40 PM
  4. Replies: 3
    Last Post: 02-27-2012, 08:03 PM
  5. Pivot table - change data source to another pivot table in 2010
    By thesecretsanta in forum Excel General
    Replies: 4
    Last Post: 04-13-2011, 12:54 PM
  6. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  7. Replies: 1
    Last Post: 06-20-2010, 04:00 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