+ Reply to Thread
Results 1 to 3 of 3

Can someone help me make this where the name of the pivot table does not matter?

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Can someone help me make this where the name of the pivot table does not matter?

    Can someone help me make this where the name of the pivottable does not matter? The name changes and breaks the macro if you delete a pivot and want to rerun the macro. For example. You create PT1, PT2, PT3, then you delete PT2 & PT3, and create two more PTs. Those are PT4 & PT5. So the macro would not work the second time because new PT will have the wrong names

    The clearcache seems to work, but then it screws up on setting the pivot fields. "Unable to get the pivotfields property of the pivottable class."

    Please Login or Register  to view this content.
    Last edited by taylorsm; 01-05-2017 at 09:49 AM.

  2. #2
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Can someone help me make this where the name of the pivot table does not matter?

    Think I got it! Still ugly and probably 100 ways to do it better but nonetheless it appears to be working.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Can someone help me make this where the name of the pivot table does not matter?

    Think I got it! Still ugly and probably 100 ways to do it better but nonetheless it appears to be working.

    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. How to make this in pivot table?/How to redo this in the pivot table
    By xcelRaj in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-26-2016, 04:07 AM
  2. Replies: 0
    Last Post: 03-03-2015, 11:43 AM
  3. Is it possible to make a Pivot Table from multiple Pivot Tables?
    By flapface in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-06-2014, 11:02 AM
  4. PLEASE DELETE this post
    By -EE- in forum Excel General
    Replies: 0
    Last Post: 02-22-2012, 07:46 PM
  5. How Do I Make Case Sensitivity Not Matter?
    By Cfallscat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2011, 03:58 AM
  6. to make a pivot table to work with an adjoining table
    By byronova in forum Excel General
    Replies: 2
    Last Post: 09-06-2009, 10:47 AM
  7. Change Variable data on 1 pivot table, make same changes in other pivot tables
    By matt4003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2008, 10:55 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