+ Reply to Thread
Results 1 to 7 of 7

Custom Chart Tooltips VBA

  1. #1
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Custom Chart Tooltips VBA

    Hi,

    I have a line chart (multiple series) in which I am trying to display custom tooltips on the data points. The source for these custom tooltips are the Notes columns in the first worksheet. The code (which I've copied from an internet site) is working to some degree but I'm not sure how to modify it to pick up the notes column as the content for the tooltips. Also, the example I took this from only had one line whereas I will have 5 when the chart is complete.

    Has anyone got any ideas? Is this even possible!?

    Any help would be greatly appreciated!

    Lyla
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Custom Chart Tooltips VBA

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Re: Custom Chart Tooltips VBA

    Thanks so much Andy, that's brilliant!

    Now, I have another question. As an alternative to the approach above, is it possible to click/double-click on a chart data point and have it bring you to the cell that data point is taking it's value from? Then, the note can be viewed easily as it's directly beside the cell in question. I'm just wary that this chart is going to grow over time and having the hover labels might become tedious so it would be nice to have another way of linking to the notes.

    Thanks,
    Lyla
    Last edited by lyla22; 06-07-2014 at 07:01 PM.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Custom Chart Tooltips VBA

    The user will have to select the series and then double click the data point

    Please Login or Register  to view this content.
    To size the hover label
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Re: Custom Chart Tooltips VBA

    Hi Andy,

    The double-click doesn't seem to be working consistently. It is moving to the correct sheet but not selecting the correct cells. A double-click might bring you to the correct cell, then if you go back and double-click another point, it might bring you right to the end of the sheet or a few cells away from the correct one, no consistent pattern that I can see?

    Thanks again for your help.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Custom Chart Tooltips VBA

    try this variation

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Re: Custom Chart Tooltips VBA

    That works perfectly, Andy.

    Thank you, much appreciated!

+ 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] Tooltips for cells
    By hhost in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2013, 08:15 AM
  2. Custom Contextual ToolTips, pivottables
    By dssrun209 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2011, 10:19 AM
  3. [SOLVED] Tooltips won't show up in custom popup menu
    By Brian J. Matuschak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2005, 05:15 PM
  4. ToolTips or ScreenTips
    By Stuart Grant in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-30-2005, 11:40 AM
  5. adding tooltips / helper tips to custom funcitons
    By Scott in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2005, 02:06 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