+ Reply to Thread
Results 1 to 5 of 5

Renaming Hyperlinks

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    Stoke-on-Trent, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Renaming Hyperlinks

    hi i need some help renaming a lot of hyperlinks

    to start i have a list of 1000's of text links (ignore the space http:/ / it's the only way i could display it as text on this post)
    e.g
    http:/ /www.1.com
    http:/ /www.2.com
    http:/ /www.3.com

    then i used this macro to convert them to hyperlinks
    Please Login or Register  to view this content.
    now i have
    http://www.1.com
    http://www.2.com
    http://www.3.com

    but i would like to change them all to
    Link
    Link
    Link

    is this possible by just changing my macro slightly?
    Last edited by sjgidman1982; 07-25-2016 at 04:34 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Renaming Hyperlinks

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    02-20-2009
    Location
    Stoke-on-Trent, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: Renaming Hyperlinks

    sorry i have altered

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Renaming Hyperlinks

    To change de property .TextToDisplay using your code try inside for each
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-20-2009
    Location
    Stoke-on-Trent, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: Renaming Hyperlinks

    thnks i'll give that a go but i did manage to work out something i used this in the immediate window
    Please Login or Register  to view this content.

+ 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. [SOLVED] Range containing many hyperlinks is default blue font -fix to be black but keep hyperlinks
    By RedSummer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2015, 12:01 PM
  2. Mass renaming hyperlinks
    By benzo2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2015, 11:59 AM
  3. Renaming hyperlinks in excel
    By michibahn in forum Excel General
    Replies: 6
    Last Post: 04-09-2014, 03:49 PM
  4. Find Hyperlinks, Copy Hyperlinks to alternative sheet, print all hyperlinks
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 05:13 PM
  5. Renaming hyperlinks
    By CCobb in forum Excel General
    Replies: 2
    Last Post: 11-13-2012, 01:12 PM
  6. Replies: 7
    Last Post: 06-14-2012, 09:44 AM
  7. [SOLVED] Hyperlinks and renaming tabs
    By woolyhedgehog in forum Excel General
    Replies: 0
    Last Post: 10-18-2005, 01: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