+ Reply to Thread
Results 1 to 4 of 4

Macro to make slicer selections

  1. #1
    Registered User
    Join Date
    02-24-2018
    Location
    Charlotte, NC
    MS-Off Ver
    2016
    Posts
    35

    Macro to make slicer selections

    I am trying to automate a biweekly report. The first step is to select from a list of names in a slicer. This slicer is linked to a table.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to make slicer selections

    What's your question?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    02-24-2018
    Location
    Charlotte, NC
    MS-Off Ver
    2016
    Posts
    35

    Re: Macro to make slicer selections

    The question is how do I create a macro that makes only the selections needed for the report. It's a slicer of 20 names and I only need 7 of them.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to make slicer selections

    Something like this:
    Please Login or Register  to view this content.
    Last edited by Olly; 04-23-2018 at 05:03 PM. Reason: made list of values more obvious

+ 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. Replies: 1
    Last Post: 04-23-2018, 09:43 AM
  2. VBA to Edit Slicer Selections Using Cell Values
    By pgres in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2017, 10:13 AM
  3. Protect Slicer yet make it functioning!!
    By meus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-04-2015, 05:18 AM
  4. 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
  5. Replies: 0
    Last Post: 03-08-2013, 06:34 AM
  6. Can a macro make selections to slicers based on values or criteria in cells?
    By Yas420 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2013, 03:07 PM
  7. 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

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