+ Reply to Thread
Results 1 to 6 of 6

displaying the text from a URL on the cell

  1. #1
    Registered User
    Join Date
    12-07-2006
    Posts
    3

    displaying the text from a URL on the cell

    Hi,

    I am sorry if this has been discussed before, I did make a search for it, but found nothing, so here it goes!

    I have a sheet of >5000 lines. One row displays hyperlinks. By pressing on it, default browser comes up.

    The problem is that instead of displaying the url (i.e. http://www.google.com) it displays the name of it (i.e. google) in blue.

    Is any way of automatically displaying the URLs of those fields?

    Please save me!

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Have you tried

    Please Login or Register  to view this content.
    HTH
    Carim

  3. #3
    Registered User
    Join Date
    12-07-2006
    Posts
    3
    Quote Originally Posted by Carim
    Hi,

    Have you tried

    Please Login or Register  to view this content.
    HTH
    Carim
    I am actually not into vb macro programming. _If_ this is the only solution, would you be so kind by giving me the code to modify the "TextToDislpay" property for (let's say) a range of "F1" to "F5000"?

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Save a copy of your sheet the in the copied workbook enter this VBA code

    Alt + F11
    New Module

    Please Login or Register  to view this content.
    This will remove the text and leave only the Hyperlinks

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    12-07-2006
    Posts
    3
    Quote Originally Posted by VBA Noob
    Hi,

    Save a copy of your sheet the in the copied workbook enter this VBA code

    Alt + F11
    New Module

    This will remove the text and leave only the Hyperlinks

    VBA Noob
    This is sooo cool!! It works like a charm... Thank you so much!

    I also added

    hlink.Delete

    in order to remove the blue link totally!!

    thanks again!

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad it helped

    VBA Noob

+ 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