+ Reply to Thread
Results 1 to 4 of 4

How to change all external links that contain the text OldDate?

  1. #1
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    How to change all external links that contain the text OldDate?

    Hi everyone,

    I have a code below to allow me to change a link by replacing OldDate with New Date.

    This only works for a specific external link. In fact, the file has over 10 external links which all contain the text OldDate. Do you know how to do some loop to allow all external links to change in one go using NewDate to replace the OldDate?


    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to change all external links that contain the text OldDate?

    Hi,

    Untested but try
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: How to change all external links that contain the text OldDate?

    Hi Richard, thanks a lot for your code. It really works perfectly, without testing

    THANK YOU!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to change all external links that contain the text OldDate?

    Quote Originally Posted by billj View Post
    Hi Richard, thanks a lot for your code. It really works perfectly, without testing

    THANK YOU!
    My pleasure and thanks for the rep.

+ 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. Replies: 1
    Last Post: 03-19-2015, 08:39 PM
  2. Macro to change multiple external Links
    By prenkertn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-15-2014, 09:15 PM
  3. External links: Change source simplification?
    By Eldacan in forum Excel General
    Replies: 10
    Last Post: 08-08-2013, 07:27 AM
  4. Need VBA code to change color of cells with external links
    By tst2000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2013, 03:32 PM
  5. Replies: 0
    Last Post: 12-07-2008, 01:25 PM
  6. External links contain too much text
    By i983corbett in forum Excel General
    Replies: 0
    Last Post: 07-27-2005, 07:05 PM
  7. Find and change external links to point to the same workbook instead
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2005, 02: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