+ Reply to Thread
Results 1 to 3 of 3

how to manipulate Pivots - VBA?

Hybrid View

mortphil how to manipulate Pivots -... 12-16-2014, 11:07 AM
mikeTRON Re: how to manipulate Pivots... 12-16-2014, 12:46 PM
mortphil Re: how to manipulate Pivots... 12-17-2014, 04:10 AM
  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2007
    Posts
    188

    how to manipulate Pivots - VBA?

    Hello everyone,

    At the moment, I refresh a number of pivots by selecting a range where the pivots is located (which activate the pivot) then I refresh it.

    I am sure there is a better way to refresh specific pivots? (I know, it's a trivial one, but it would really be helpful)

    Thanks for your time,

    -Philippe

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: how to manipulate Pivots - VBA?

    That is a google question my friend.

    ActiveSheet.PivotTables(1).PivotCache.Refresh
    No need to select cell A10.

    ThisWorkbook.RefreshAll
    <-- I usually use that to update them all

    More info:
    http://www.ozgrid.com/VBA/pivot-table-refresh.htm
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Contributor
    Join Date
    06-24-2013
    Location
    Berlin
    MS-Off Ver
    Excel 2007
    Posts
    188

    Re: how to manipulate Pivots - VBA?

    Thanks, MikeTron.

+ 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. Search A, Manipulate B
    By brodog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2014, 10:30 AM
  2. Replies: 0
    Last Post: 10-18-2013, 11:35 AM
  3. [SOLVED] Insert Slicer for Pivots Only or can we use it for Charts without Pivots?
    By eldwardo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 04:27 AM
  4. How to manipulate a row with a certain value
    By Bill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2006, 10:10 AM
  5. [SOLVED] I would like to build macro's to do pivots or part of pivots
    By Todd F. in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2005, 11:05 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