+ Reply to Thread
Results 1 to 6 of 6

Apply Pivot Table Maual Update =True

  1. #1
    Forum Contributor meus's Avatar
    Join Date
    11-25-2014
    Location
    kathmandu
    MS-Off Ver
    2010/ 2013
    Posts
    287

    Apply Pivot Table Maual Update =True

    Hey all

    I am trying to speedup my macro linked with several Pivot tables. I have come with a code to make pivot Macro faster but i was wondering if the following codes can be minimized or is correct or not.. or is there any way to make it more better...
    Please Login or Register  to view this content.
    I have four Pivot table i.e 1,2,3 and 4 and first set pivot table to manual and then code and at last manual update false... Is it correct that i used above??
    Or any Better way?
    Thanks
    Last edited by meus; 09-23-2015 at 11:51 PM.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Apply Pivot Table Maual Update =True

    Hi,

    Instead of having individual lines, you can loop through collections.

    Something like

    Please Login or Register  to view this content.
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor meus's Avatar
    Join Date
    11-25-2014
    Location
    kathmandu
    MS-Off Ver
    2010/ 2013
    Posts
    287

    Re: Apply Pivot Table Maual Update =True

    Thanks For reply...
    Before i was using..
    Please Login or Register  to view this content.
    But from your code, it has become more slow than before.. Why is it so.. Pissed off..

    Thanks.

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Apply Pivot Table Maual Update =True

    It has become slower than the code you posted in Post #1?

    I don't think my code is doing absolutely anything to slow down your macro really..

  5. #5
    Forum Contributor meus's Avatar
    Join Date
    11-25-2014
    Location
    kathmandu
    MS-Off Ver
    2010/ 2013
    Posts
    287

    Re: Apply Pivot Table Maual Update =True

    No Actually i haven't used the code of post 1. Just wanted to be sure about that code...
    I had used the code of post 3 which is just for pivot table 1. Because of my post 3 code, the macro was running slightly faster and i thought if i did the same for all four pivot table, it could be more faster. Hence, i posted the first post with my logic hoping someone could minimize the code or had any better ideas. Then i tried your code, it works fine but works slower than my third post code.. So i got confused...

    Thanks

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Apply Pivot Table Maual Update =True

    But your code in Post#3 is just manipulating 1 Pivot table, and mine is manipulating 4.. So obv it will be slower.. But I think its the rest of your code which might need optimization..

+ 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. VBA Pivot Table Filter Set Filter to True if True Exists
    By subduco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2014, 03:00 PM
  2. How to apply multiple label filters on pivot table at once
    By babbeleme1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2013, 02:16 PM
  3. Need to apply Form Controls or Active X Controls to Pivot Table
    By bdmw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2013, 04:16 PM
  4. Automatically Apply Macro's/Formula's and Pivot Table attributes
    By karobonas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2011, 05:50 AM
  5. Replies: 2
    Last Post: 03-28-2010, 06:54 PM
  6. Apply filter in a pivot table
    By luis87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2010, 01:22 PM
  7. [SOLVED] Apply a formula as a pivot table calc or suggestion
    By Todd F. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2006, 09:25 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