+ Reply to Thread
Results 1 to 2 of 2

Find and Replace based off Hyperlink Display

  1. #1
    Registered User
    Join Date
    12-10-2014
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2205 Build 16.0.15225.20368) 64-bit
    Posts
    96

    Find and Replace based off Hyperlink Display

    Hello,

    I am trying to see if there is a way that if i try to find the hyperlink and when I enter in the hyperlink as the item to find, I would like for it to replace only the display for the hyperlink, not the hyperlink itself.

    I have attached a spreadsheet and an example of what I am looking for is below:

    Find the URL within the display highlighted in yellow: http://www.baseball-reference.com/bo...99804161.shtml
    Replace Display with: 4/16/98 6:00 AM

    Find the URL within the display highlighted in yellow: http://www.baseball-reference.com/bo...99804162.shtml
    Replace Display with: 4/16/98 12:00 PM


    Any help to make this happen would be greatly appreciated. Thank you in advance.
    Attached Files Attached Files

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

    Re: Find and Replace based off Hyperlink Display

    Hi

    I made the function Function FindTextinHyp(Txt As String, Source As Range) As String that locates the cell that contains the hyperlink Txt in the cell range Source
    The procedure Sub ChangeDisplayHiperlink (TXT1 As String, Source As Range, Value As Variant) uses the previous function to update the cell found by the function with the Value you passed


    Please Login or Register  to view this content.
    See if this helps.
    Best regards

+ 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] Find Hyperlink Replace Text
    By mattdh12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2014, 09:13 AM
  2. Find & Replace Hyperlink Folder Name
    By Philmor in forum Excel General
    Replies: 1
    Last Post: 11-12-2008, 11:23 PM
  3. find and replace a hyperlink
    By deece in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2008, 07:17 AM
  4. Hyperlink find and replace?
    By John in forum Excel General
    Replies: 3
    Last Post: 03-13-2006, 03:35 PM
  5. Find text in Word, then replace with hyperlink
    By Shawn G. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-05-2005, 09:05 AM
  6. [SOLVED] Find text in Word, then replace with hyperlink
    By Shawn G. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-04-2005, 06:05 PM
  7. [SOLVED] find and replace hyperlink?
    By me in forum Excel General
    Replies: 1
    Last Post: 08-30-2005, 08:05 PM
  8. Find and Replace Hyperlink Contents
    By Dede in forum Excel General
    Replies: 11
    Last Post: 04-28-2005, 08:06 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