+ Reply to Thread
Results 1 to 9 of 9

Add screentip on a Hyperlink Function

  1. #1
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Add screentip on a Hyperlink Function

    Dear All,

    Trust you're all well.

    I am adding a formula into a table column when user type only the YouTube video ID in one cell (on this case, cell M12).

    The cell N12 have the following formula and will only show up if value in cell M12 is <> than "":

    Please Login or Register  to view this content.
    In the Hyperlink function, we only have the following: HYPERLINK(link_location, [friendly_name])

    Is there anyway to add a screentip name based on another cell value?

    I see this option only available if adding an Hyperlink manually or through VBA code.

    Can we do it in a formula?

    Your assistance on this matter will be highly appreciated.

    Best regards,
    Filipe


    * If a reply solved or answered your query/question, you can add reputation to the person by clicking on the * Add Reputation
    * When question is resolved, please mark your thread as SOLVED


    Thanks and regards,
    Filipe Oliveira

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Add screentip on a Hyperlink Function

    Can you please explain it clearly? I don't understand the things
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Re: Add screentip on a Hyperlink Function

    Hi Shukla,

    Thanks for the prompt reply.

    In short, is there a way to insert a screentip on a Hyperlink function?

    The screentip is the message or text when users hoover the mouse through an Hyperlink.

    Many thanks in advance and kind regards,
    Filipe

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Add screentip on a Hyperlink Function

    Good afternoon pipoliveira

    Through a worksheet function? No.

    You could fudge something using VBA. As a working example, the code below would put the text "Open Video" in cell A1, the hyperlink address would be in cell A2 and the screentip would show the contents of A2, but it could just as easily be any other cell.

    Ideally, you would want this as an event procedure, so it fires automatically on the Worksheet_SelectionChange.

    Please Login or Register  to view this content.
    Is this something you could work with? If not, you're pretty much out of options I'm afraid.

    HTH

    DominicB

  5. #5
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Re: Add screentip on a Hyperlink Function

    Thanks a million Dominic,

    I thought so since the Hyperlink function can only allow to type the link address and the friendly name.

    May I please ask how to twist the your code to a range?

    The thing is, this videos are updated into a sort of table and using your example, the range will be "A1:A100".

    How I change your code when users start updating the "table" with more videos? You code will only add an Hyperlink to Cell "A1".

    I need to add Hyperlinks only to the rows that have links updated, the ones with no links, should be kept "blank".

    Many thanks in advance and kind regards,
    Filipe

  6. #6
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Add screentip on a Hyperlink Function

    Hi pipoliveira

    Can you post your workbook, or at least a small portion of it - I don't need to see all 100+ rows, just enough that I am not working blind.
    Feel free to change links and anonymise any data you may feel is sensitive - I just need to understand the structure.

    HTH

    DominicB

  7. #7
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Re: Add screentip on a Hyperlink Function

    Hi Dominic,

    Trust you're well.

    Please see sample file attached.

    Columns "C" and "G" have Hyperlinks and the only part of the table that needs to be updated manually are from column "D" to "F".

    In column "I" is how I want it to be. If you hoover the mouse through the link, you'll see the screentip.

    On this example, everytime a user updates a link in column "F", it should update column "G".

    Let me know if you need further clarification.

    Best regards,
    Filipe
    Attached Files Attached Files

  8. #8
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Add screentip on a Hyperlink Function

    Hi pipoliveira

    See if this file does what you expect.
    You need to fill in columns C, D, E and F and the click the button. This should then generate hyperlinks for all items you have listed on that page.

    HTH

    DominicB
    Attached Files Attached Files

  9. #9
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Re: Add screentip on a Hyperlink Function

    Hi Dominic,

    Thanks a million for the code.

    Instead of a Command Button, I've added the code to the Worksheet_SelectionChange.

    The only thing I've changed, was the LastRow Dimension from "C" to "F", meaning, if the users does not upload the short link, it will not add an Hyperlink.

    Thanks a million for your code, it works as I wanted.

    Really appreciated for your time.

    Best regards,
    Filipe

+ 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. Add ScreenTip (Hyperlink) to certain shapes
    By esbencito in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2017, 06:17 AM
  2. Hyperlink Screentip not appearing properly
    By PlopNofear in forum Excel General
    Replies: 3
    Last Post: 06-12-2015, 12:25 PM
  3. [SOLVED] Formating a Hyperlink Screentip
    By ie08jtw in forum Excel General
    Replies: 6
    Last Post: 08-01-2012, 08:23 AM
  4. Shape Hyperlink Screentip macro
    By andy1787 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2011, 10:42 AM
  5. Screentip / Hyperlink & Button/Shape
    By Tord in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2010, 10:31 AM
  6. Hyperlink with no ScreenTip ?
    By Phil_V in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-08-2009, 10:40 AM
  7. How to extract the ScreenTip text from a hyperlink field
    By arobbo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2009, 11:26 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