+ Reply to Thread
Results 1 to 4 of 4

Macro to Run when Slicer Selection is Changed

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Lexington, KY
    MS-Off Ver
    Excel 2010
    Posts
    21

    Macro to Run when Slicer Selection is Changed

    Disclosure: I am very new to VBA.

    Is it possible to have a macro run everytime a slicer selection is changed? For example, I have the following code that I want to run everytime I choose a different item (or combination of items) on the slicer.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Macro to Run when Slicer Selection is Changed

    the worksheet has a pivottableupdate event you could use
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Lexington, KY
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Macro to Run when Slicer Selection is Changed

    Thanks. That did the trick.

  4. #4
    Registered User
    Join Date
    01-08-2016
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    9

    Re: Macro to Run when Slicer Selection is Changed

    How did that work? Any chance you can send the macro on?

    I have the same problem that within the sheet where a slicer exists I want a macro to run every time a slicer selection is changed but I can't follow the above solution?

+ 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