+ Reply to Thread
Results 1 to 4 of 4

Unique 'TextTips' Based on Hovered Over Cell Values (Hyperlinked)

  1. #1
    Forum Contributor
    Join Date
    06-15-2009
    Location
    Ontario, canada
    MS-Off Ver
    Office 365
    Posts
    371

    Unique 'TextTips' Based on Hovered Over Cell Values (Hyperlinked)

    With reference to this post ... https://www.excelforum.com/excel-pro...heet-cell.html, I am struggling to figure out a VBA solution to one of the components of my original post there. The solution provided fundamentally works (thank you Kokosek and Lewis), but I have not been able to figure out yet how to display the unique 'texttip' for the row that the user is hovering over. The code, as it is now, displays the same 'texttip' for each cell in that particular range (all the + in column I display "Heavy", ~ in column J display "Moderate" and "Light for column J's - ). I need to enhance those messages based on the row as: (apologize for being unable to display tabular, there are three columns of data illustrated here)

    Sym Row Message
    + 13 > 10 cm
    + 14 > 10 cm
    + 15 > 10 cm
    + 16 > 5 mm
    + 17 >5 mm
    + 18 >5 mm
    + 19 > 45 kph

    ~ 13 5-10 cm
    ~ 14 5-10 cm
    ~ 15 5-10 cm
    ~ 16 1-5 mm
    ~ 17 1-5 mm
    ~ 18 1-5 mm
    ~ 19 20-45 kph

    - 13 <5 cm
    - 14 <5 cm
    - 15 <5 cm
    - 16 <1 mm
    - 17 <1 mm
    - 18 <1 mm
    - 19 <20 kph

    Would anyone like to assist me in how to best approach this ... to display the appropriate 'texttip' based on which cell within the range the pointer is positioned? I suspect it might involve this portion of code, but I am unsure how to get the value for "srow" identified in my commented out lines of code. Perhaps it can't be done?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Unique 'TextTips' Based on Hovered Over Cell Values (Hyperlinked)

    Hi,

    Try the attached copy of your modified file. The '-' sign column worked intermittently for me, so I changed it to 'x' and it worked every time for me. You may want to try to change it back to '-' sign, and see how it works for you.

    In the future, please upload your sample file to the thread - you will get better and quicker responses, as responders want to do as little work as possible testing and looking for files.

    Changed code follows:
    Please Login or Register  to view this content.
    NOTE: Had to replace 'Case' with 'xCase' and 'Select' with 'xSelect' to get past Excelforum firewall

    Lewis
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-15-2009
    Location
    Ontario, canada
    MS-Off Ver
    Office 365
    Posts
    371

    Re: Unique 'TextTips' Based on Hovered Over Cell Values (Hyperlinked)

    Hi Lewis! Thank you so much. I was on the right track with my own guessing, but you cleaned things up for me. Working well!

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Unique 'TextTips' Based on Hovered Over Cell Values (Hyperlinked)

    I was happy to help. Your commented out lines in the code made things easy.

+ 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. Graying out Specific Cell until Adjacent Cell is Hovered Over
    By richrew1492 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2021, 03:31 AM
  2. [SOLVED] VBA to Print Hyperlinked PDF based on Cell Reference
    By hindotmo12 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-24-2020, 08:04 PM
  3. [SOLVED] Need Help Extracting Unique Values Based on Another Cell Value
    By rbhed77089 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-12-2018, 06:34 AM
  4. [SOLVED] Count unique values based on another cell value
    By terratushi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-05-2018, 08:53 AM
  5. display value when hovered over a cell
    By deepakpalani in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2014, 02:23 AM
  6. Count unique values based on value in another cell in same row
    By danbak in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-08-2013, 03:54 AM
  7. [SOLVED] Comments Appearing When Cell Is Selected (Not Hovered Over)
    By JB Christy in forum Excel General
    Replies: 2
    Last Post: 03-28-2006, 05:00 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