+ Reply to Thread
Results 1 to 3 of 3

Show tooltip on hover of button (autoshape)

  1. #1
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    Show tooltip on hover of button (autoshape)

    is it possible to create a pop-up tootip (or show another shape or textbox with help text) when hovering a button (created from a shape)

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Show tooltip on hover of button (autoshape)

    Hello wotadude,

    Add a Hyperlink to the Shape using the right click menu. Send it to cell behind the shape. The Hyperlink has a tip text that is displayed when the mouse hovers on the shape.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    09-02-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Show tooltip on hover of button (autoshape)

    Since the hyperlink takes precedence, that method doesn't work if you also want to run code, which I'm guessing OP needs to do.

    The only way I know to have a tooltip as well as code assigned to buttons on a worksheet is to use actual button objects rather than an autoshapes, then use the controls' mouseMove event to set the visibility of associated labels.

    Attached example from a recent project with 6 buttons (NB code contained in 3 places - wbkInfoTips, Sheet1 and hideInfo).

    Would love to hear of any better solutions as mine's not exactly elegant.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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