Results 1 to 5 of 5
  1. #1
    3 Star Lounger Jimmy-W's Avatar
    Join Date
    Jan 2001
    Location
    Helena, Montana, USA
    Posts
    220
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Change text to hyperlink (2003)

    I exported some data into Excel and have a field that contains hyperlinks formatted as text. For example, "http://www.connected.com/Closed.htm." Is there a function or method by which I can change the format so that the data/address in the cells become active links on which one can click and browse directly from my worksheet? Thanks!
    JimmyW
    Helena, MT

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Change text to hyperlink (2003)

    Are you looking for the HYPERLINK function:

    HYPERLINK(link_location,friendly_name)
    Legare Coleman

  3. #3
    3 Star Lounger Jimmy-W's Avatar
    Join Date
    Jan 2001
    Location
    Helena, Montana, USA
    Posts
    220
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Re: Change text to hyperlink (2003)

    Thanks very much, Legare. This will work, as I can create a new column and run the function on the text-formatted links in the other column. In E1, I use the function HYPERLINK on D1 without a "friendly name." I would have preferred to simply convert the existing text to a hyperlink in the same column, but this will suffice.
    JimmyW
    Helena, MT

  4. #4
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Change text to hyperlink (2003)

    You could use a macro. Select the cells of interest and this will convert them

    Steve

    <pre>Sub ChangeToLink()
    Dim rcell As Range
    For Each rcell In Selection
    ActiveSheet.Hyperlinks.Add rcell, rcell.Value
    Next
    End Sub</pre>


  5. #5
    3 Star Lounger Jimmy-W's Avatar
    Join Date
    Jan 2001
    Location
    Helena, Montana, USA
    Posts
    220
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Re: Change text to hyperlink (2003)

    Thanks very much Steve. This is exactly what I need!
    JimmyW
    Helena, MT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •