+ Reply to Thread
Results 1 to 8 of 8

How to make a mouseover a point in a line-diagramme trigger an action

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2016
    Location
    -
    MS-Off Ver
    2011, built 14 on Macbook iOX
    Posts
    8

    Question How to make a mouseover a point in a line-diagramme trigger an action

    Hello,

    I have an excel line diagramme base on a table.
    In a different table, I have three values that giove additional information for each point in the diagramme.

    I wonder if it is possible to show the three additional values (the content of the cells) for each diagramme datapoint on the side of the diagramme, if I move my mouse over a point in the diagramme (or if I click a point in the diagramme).

    Thank you for your help!

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    Here is an example of what I think you want. When you click on a point it gives you the Series Name, the date the point represents and its X and Y coordinates. The code in on the Sheet for Chart 1. In addition, I have a bit of code that when you press CTRL-d pops up an input box where you can put in a date, and it will highlight that data point for you. I think you should be able to adapt this code to your needs. It's very old code as you can tell by the dates and the fact that it's an XLS file.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    06-28-2016
    Location
    -
    MS-Off Ver
    2011, built 14 on Macbook iOX
    Posts
    8

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    Thank you very much dflak!
    I will see if I can use this

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    If you are having an issue and can include a sample workbook, I may be able to help you adapt the code to your needs.

  5. #5
    Registered User
    Join Date
    06-28-2016
    Location
    -
    MS-Off Ver
    2011, built 14 on Macbook iOX
    Posts
    8

    Arrow Re: How to make a mouseover a point in a line-diagramme trigger an action

    Dear dflak,

    thank you for offering your help! I very much appreciate it!
    I found an approach online for what I try to do that does exactly what I want. However, I was unable to adopt it to my file.
    Would you be interested and willing to have a look at it?

    I attached the original code ("RE_Punktegrafik Test_VBA für RedMine issue #3395.xlsm")
    and my adopted version which does not (yet) work ("TestDatei um MouseOver anzuwenden.xlsm").

    Maybe you have an idea? If you have any question, please let me know!
    Thank you very much!

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    I will take a look. I may learn something

  7. #7
    Registered User
    Join Date
    06-28-2016
    Location
    -
    MS-Off Ver
    2011, built 14 on Macbook iOX
    Posts
    8

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    Awesome, thank you! I am curious to see which mistakes I made

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: How to make a mouseover a point in a line-diagramme trigger an action

    This one is a bit beyond me. I'm getting the idea, but it's going to take some study. It doesn't help a lot that I don't read German. I am going to have to figure out what having a user form has to do with it.

    Besides, your chart seems to work. Once you select the series, you get the values when you mouse over the points. You are ahead of me on this one.

+ 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] How do I make a simple 2-point line chart?
    By helen269 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-31-2016, 04:36 PM
  2. Writing a word e.g. begin will trigger an action to happen
    By Ayoub99k in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2015, 05:10 PM
  3. Event trigger to open file after Ctrl+C keyboard action.
    By delaing in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-09-2015, 02:28 PM
  4. [SOLVED] VBA trigger action after data from other sources are refreshed
    By dusoo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 07:19 PM
  5. Replies: 0
    Last Post: 08-10-2012, 10:01 AM
  6. cycle through list of data & use values to trigger an action
    By stn5006 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2011, 07:36 PM
  7. Trigger Action when Standard Menu Item Selected?
    By Filibuster in forum Excel General
    Replies: 2
    Last Post: 07-25-2006, 07:50 PM

Tags for this Thread

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