+ Reply to Thread
Results 1 to 3 of 3

Changing Slicer value will run Code

  1. #1
    Registered User
    Join Date
    02-11-2012
    Location
    Lloydminster Canada
    MS-Off Ver
    Excel 2007
    Posts
    12

    Changing Slicer value will run Code

    Hello,
    I am looking for a little code that will do the following.
    When I select a new item in Slicer called MIX ID it will run code that will hide any rows that do not have a value in column C11 to C50.

    Also how would I modify the code to allow me to simply call a macro when the slicer is changed?

    Really appreciate the help in advance.
    KH

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Changing Slicer value will run Code

    Hi
    as workbook events Workbook_SheetPivotTableUpdate and Workbook_SheetPivotTableChangeSync both fire with changing the slicer


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Registered User
    Join Date
    02-11-2012
    Location
    Lloydminster Canada
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Changing Slicer value will run Code

    Tony,
    Being somewhat a newby to this world of code ..what would the actual code be?
    Thanks so much.
    LKH

+ 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. changing data source for all tables connected with slicer
    By ScottLor in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-14-2017, 08:56 AM
  2. [SOLVED] Changing the Chart Title automatically when a value in Slicer is selected
    By rv02 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-03-2014, 06:05 PM
  3. Make one slicer mirror filters of another slicer
    By IbenezPrez in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2014, 02:00 PM
  4. Slicer not changing with grouping for month and day at a time
    By abraham30 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-20-2014, 12:52 PM
  5. Code to loop through pvt slicer very slow
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2014, 02:08 PM
  6. Slicer Macro - unfilter another slicer on selection
    By chadheins in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2012, 10:41 AM
  7. [SOLVED] Change Chart Title Depending on a Slicer - slicer advice
    By JungleJme in forum Excel General
    Replies: 8
    Last Post: 08-17-2012, 07:59 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