+ Reply to Thread
Results 1 to 3 of 3

Help with Private Sub Worksheet_PivotTableChangeSync(ByVal Target As PivotTable)

  1. #1
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Help with Private Sub Worksheet_PivotTableChangeSync(ByVal Target As PivotTable)

    Dear All

    I have a quick question and will appreciate your help

    I am using
    Please Login or Register  to view this content.
    and this works when I have it in the sheet where the pivot table is.

    However I have a table which looks at values in my pivot sheet where the pivot table is and I have copied the slicer on to this sheet. The sheet is called Pivot_copy

    When I use pivot table change sync in Pivot_copy sheet it doesn't work as the pivot table is in sheet called Pivot.

    Is there anyway I can declare my target to be sheet("Pivot") pivot table name or does this need to reside on the sheet where pivot table is.

    Hope this is clear and thanks in advance

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Help with Private Sub Worksheet_PivotTableChangeSync(ByVal Target As PivotTable)

    Hi! Could you please post a dummie workbook with your example?

    Thanks!
    If I have solved your question, please mark the thread as [SOLVED],
    And consider adding reputation

    ?Simplicity is the ultimate sophistication? (Leonardo Da Vinci)

    Regards,
    F?bio Gatti

    https://www.youtube.com/pulodogatti
    https://www.linkedin.com/in/fabiocgatti/
    https://instagram.com/pulodogatti

  3. #3
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Re: Help with Private Sub Worksheet_PivotTableChangeSync(ByVal Target As PivotTable)

    Hi
    I think I just gigured out what to do, I put the code in the sheet where the pivot table is and used a call function in Pivot Caopy

+ 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. [SOLVED] Private Sub Worksheet_Change(ByVal Target As Range)
    By hmr2662 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2015, 12:35 PM
  2. Private Sub Worksheet_Change(ByVal Target As Range)
    By BigJim68 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-27-2014, 01:57 PM
  3. Private Sub Worksheet_Change(ByVal Target As Range) Help
    By adamsj1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-28-2012, 09:17 AM
  4. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    By dcdusek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2009, 03:04 PM
  5. Private Sub Worksheet_Change(ByVal Target As Range)
    By Arturo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2005, 11:06 AM
  6. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    By tawnee jamison in forum Excel General
    Replies: 0
    Last Post: 04-20-2005, 05:13 PM
  7. Private Sub Worksheet_Change(ByVal Target As Range)
    By bondcrash in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2005, 02:59 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