+ Reply to Thread
Results 1 to 4 of 4

Unexplained Hyperlink Behaviour

  1. #1
    Forum Contributor
    Join Date
    06-18-2007
    Location
    Kiama, Australia
    MS-Off Ver
    365
    Posts
    119

    Question Unexplained Hyperlink Behaviour

    Hi Folks,

    I'm sure this is a simple one for the gurus out there!

    The attached file contains VBA that recreates a hyperlink if the cell containing the original hyperlink (B3) is altered.
    The code works but I get an unexpected result if a number(s) is entered in the cell.
    If a number is entered the "TextToDisplay" parameter is not updated and the number remains in the cell.
    Can anyone explain why and how I can rectify this?

    Cheers,
    OzTrekker
    Attached Files Attached Files
    Select "Add Reputation" to thank me.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

    Re: Unexplained Hyperlink Behaviour

    .
    .
    Not certain if it will function correctly in all situations but if you FORMAT the cell as TEXT, it retains the wording "Hyperlink Test",
    even if you enter a numeral.

  3. #3
    Forum Contributor
    Join Date
    06-18-2007
    Location
    Kiama, Australia
    MS-Off Ver
    365
    Posts
    119

    Re: Unexplained Hyperlink Behaviour

    So simple!
    Why didn't I think of that.
    Thank you Logit.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

    Re: Unexplained Hyperlink Behaviour

    Why didn't I think of that.
    Because its human nature !

    I do it at least 35.5 times each day.

    You are welcome.

+ 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. Sudden/unexplained Run-Time 7 error
    By the_gunslinger in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-18-2017, 11:24 AM
  2. [SOLVED] Unexplained VBA error (1004)
    By daumebtb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2016, 11:41 AM
  3. [SOLVED] Unexplained Slowness
    By shawnvw in forum Excel General
    Replies: 6
    Last Post: 10-09-2015, 08:24 PM
  4. Smart Code Unexplained
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 11:45 AM
  5. Excel 2007 : Unexplained Number Format Changes
    By Kncuda in forum Excel General
    Replies: 3
    Last Post: 04-30-2009, 10:18 AM
  6. Unexplained Line on worksheet
    By lajutown in forum Excel General
    Replies: 2
    Last Post: 10-22-2005, 01:05 AM
  7. Creating links - Unexplained behaviour
    By PA in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-08-2005, 08:05 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