+ Reply to Thread
Results 1 to 14 of 14

Timeline/Slicer refresh issue

  1. #1
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Timeline/Slicer refresh issue

    Hi all,

    I've provided a sample workbook to show my issue which has been ongoing for a while now however I've not been able to find a quick win and it's driving me mad as I'm sure it should be very straightforward.

    In my head I thought I would be able to use a change or click event for the timeline to then refresh all to resolve the issue but I've not had any joy. (That's not to say that wouldn't work but I'm probably doing something wrong)

    Basically, I want to use Timelines along with regular slicers however when the timeline value is selected, changed or cleared, the slicers do not refresh to show the new available options.

    The Blue figure is what happens, and the Orange figure is what should happen.

    Thanks in advance and fingers crossed.
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    Hi,

    Event code seems to work correctly here.

    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Timeline/Slicer refresh issue

    Hi xlnitwit,

    I've tried a similar piece of code and it's still not updating the pivot slicers to reflect the available options, the table is always refreshing but it's only when I manually click Refresh that the slicer 'catches up'

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    The code I suggested works in your workbook using Excel 2016. I do not have the 2013 version for testing. Did you test the actual code I suggested or only your similar piece of code?

  5. #5
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Timeline/Slicer refresh issue

    I tried your code in my sample workbook but to no avail.

    It's really frustrating as I assumed they would have 'connected' with each others selections automatically.

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    I believe I may have located some installation media for 2013. I will endeavour to set up a Hyper V machine to test some options this afternoon.

  7. #7
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Timeline/Slicer refresh issue

    If you resolve this xl then you truly are my hero. It's making my head hurt that A) I can't figure out a workaround or solution and B) I can't get any help

    Thanks in advance for your efforts, it really is appreciated.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    I have verified that the code supplied also works in Excel 2013. You do have to select a different value in the timeline in order to actually trigger the event initially.

  9. #9
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Timeline/Slicer refresh issue

    Hi XL,

    I've updated the file and attached.

    I assure you when I'm clicking on the timeline to change the detail the slicers are not changing in line with the remaining results

    This really is driving me mad - is there something I've done in settings or turned something off?
    Attached Files Attached Files

  10. #10
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    The code is in the wrong location, that is all. It must be in the worksheet code module and not in the ThisWorkbook module.

  11. #11
    Forum Contributor IonutC's Avatar
    Join Date
    01-28-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2019
    Posts
    486

    Re: Timeline/Slicer refresh issue

    Hi Man,

    Maybe you can record a macro and see what code it shows you when you press the refresh button on that slicer and then use it in the future.

    What do you think.
    Please consider:
    Be polite. Thank those who have helped you.
    Click the star icon in the lower left part of the contributor's post and add Reputation. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Posting code between tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

  12. #12
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Timeline/Slicer refresh issue

    Quote Originally Posted by xlnitwit View Post
    The code is in the wrong location, that is all. It must be in the worksheet code module and not in the ThisWorkbook module.
    Unbelievable!

    Thanks mate appreciate you sticking with me on this one

  13. #13
    Forum Contributor IonutC's Avatar
    Join Date
    01-28-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2019
    Posts
    486

    Re: Timeline/Slicer refresh issue

    Wicked!

    If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

    Please click the star icon in the lower left part of the contributor's post and add Reputation.

  14. #14
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Timeline/Slicer refresh issue

    You're welcome.

+ 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. Timeline does not update other slicers without refresh all being run
    By PFDave in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-31-2017, 01:32 PM
  2. Timeline and Slicer Help
    By PFDave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2016, 06:44 AM
  3. Multiple questions about Excel project timeline, % formulas, refresh timeline
    By Please Help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2016, 07:13 PM
  4. Timeline slicer connection question
    By jugdish in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-19-2015, 02:19 PM
  5. Timeline Slicer showing more months than in data set
    By berkeleyjake in forum Excel General
    Replies: 3
    Last Post: 04-03-2015, 08:12 AM
  6. [SOLVED] Slicer Disappears On Refresh
    By Maroota in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-24-2015, 08:23 AM
  7. Timeline Slicer custom fiscal period
    By pinebush in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-16-2014, 10:57 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