+ Reply to Thread
Results 1 to 3 of 3

Code to update all pivot tables in a workbook is slow

  1. #1
    Registered User
    Join Date
    01-14-2009
    Location
    Worcester, England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Code to update all pivot tables in a workbook is slow

    Hi All.

    I'm using the below code to update all pivot tables in a workbook based on the data selected in a validated cell which contains a list of company names. It's running very slowly (but it runs), I'd appreciate any pointers to speed it up.

    Please Login or Register  to view this content.
    It also works intermittently - sometimes I have to run it twice to make it work.

    I put this section of code in twice which remidied it, but I'm not convinced it's the most efficient method!

    Please Login or Register  to view this content.
    Thanks All.

    Simon

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Code to update all pivot tables in a workbook is slow

    Don't now about 2007 but 2003 has a custom button for " update all"

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Code to update all pivot tables in a workbook is slow

    perhaps check the ManualUpdate settings in your first code... ie. are you sure they're the right way around ?

    Is this field a Page Field ? (would make sense if single value)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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