+ Reply to Thread
Results 1 to 4 of 4

Excel 2010 Slicers: VBA to Stop Refresh Until Command Button Pressed

Hybrid View

excelforumkeys Excel 2010 Slicers: VBA to... 09-05-2014, 01:28 PM
excelforumkeys Re: Excel 2010 Slicers: VBA... 09-09-2014, 06:13 PM
Izandol Re: Excel 2010 Slicers: VBA... 09-09-2014, 07:37 PM
excelforumkeys Re: Excel 2010 Slicers: VBA... 09-09-2014, 08:36 PM
  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    Arizona
    MS-Off Ver
    Excel 2016
    Posts
    64

    Excel 2010 Slicers: VBA to Stop Refresh Until Command Button Pressed

    Hello Forum,

    Thanks in advance for any ideas/help.

    I have 3 slicers (say named One, Two, and Three) on Sheet1 that are all connected to a series of pivot tables (on Sheet2) that run off the same data set. I'm looking for code to "turn off" (disable, set to manual, ??) the refresh action slicers initiate when a selection (or deselection) is made. The use case is that a user of these slicers would make the selections they desire without any refresh of the pivot tables. When ready for the refresh press a command button (Button1) and the results section of Sheet1 then displays the refreshed data.

    Hope that makes sense and thanks so much for any help!

    Best regards,
    Chris

  2. #2
    Registered User
    Join Date
    07-15-2013
    Location
    Arizona
    MS-Off Ver
    Excel 2016
    Posts
    64

    Re: Excel 2010 Slicers: VBA to Stop Refresh Until Command Button Pressed

    Giving this a gentle, hopeful bump. Thanks. Chris

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Excel 2010 Slicers: VBA to Stop Refresh Until Command Button Pressed

    I did not test this yet but I think perhaps you may use activate event of sheet1 to set ManualUpdate property of each pivot table to True. Command button must then only set to False and pivot tables will update.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  4. #4
    Registered User
    Join Date
    07-15-2013
    Location
    Arizona
    MS-Off Ver
    Excel 2016
    Posts
    64

    Re: Excel 2010 Slicers: VBA to Stop Refresh Until Command Button Pressed

    I'll give this a shot tomorrow Izandol when I'm back at work, thanks for the reply. I think I understand what you're saying, but I'm far from an expert with this stuff, and it seems to make sense. I may have a follow up question but will let you know one way or another. Thank you! Chris

+ 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] Rememberign which command button was pressed in a userform
    By vamosj in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-12-2014, 06:09 PM
  2. [SOLVED] Command Button when pressed will incurease textbox value
    By Gal403 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-08-2014, 01:50 AM
  3. Redirect Excel to a Macro when the button 'Refresh All' is pressed
    By Pommy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2014, 11:20 AM
  4. command button when pressed add the number 1, then 2, then 3 and so on
    By kateroe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2012, 08:28 AM
  5. How to limit the number of times a command button can be pressed
    By justchris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2005, 06:23 AM

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