+ Reply to Thread
Results 1 to 2 of 2

VBA : Updating Pivot Source = Lost Slicer Connection

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    VBA : Updating Pivot Source = Lost Slicer Connection

    Hi All,

    Wondering if someone can help...
    I just started playing around with using VBA on manipulating PivotTables and Slicer.

    Currently I have the following on my workbook...
    • 6 x Worksheets containing pivot tables only
    • 1 x Worksheet that contains a slicer ("Slicer_SERVICE_TYPE") that has a PivotTable Connection to the 6 other worksheets

    Slicer is created and working fine but when I run my code I lose all the PivotTable Connections.

    I got the Pivot Table updating successfully using VBA Code:
    Please Login or Register  to view this content.
    Is there a way I can fix this?
    Am I missing one line of code?

    I've searched everywhere and could not find any results specifically to my issue.

    Thanks in Advance!

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: VBA : Updating Pivot Source = Lost Slicer Connection

    You may disconnect slicer first then change source and re-connect: http://www.excelforum.com/excel-prog...t-slicers.html
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

+ 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. Pivot table - break connection to data source
    By TheRobsterUK in forum Excel General
    Replies: 8
    Last Post: 04-09-2014, 07:21 AM
  2. Replies: 2
    Last Post: 10-08-2013, 10:42 AM
  3. Problem updating pivot-table connection's command box
    By xtr4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2012, 06:07 AM
  4. Replies: 1
    Last Post: 09-07-2011, 03:32 PM
  5. Replies: 3
    Last Post: 05-24-2011, 05:33 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