+ Reply to Thread
Results 1 to 3 of 3

Need to run macro to check if hyperlinks are valid

  1. #1
    Registered User
    Join Date
    12-18-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    3

    Need to run macro to check if hyperlinks are valid

    I have a large spreadsheet that has thousands of hyperlinks that I would like to check periodically to make sure they are up to date. I have found dozens of examples of VBA code that will do this for me and seemingly very clear instructions on how to do it (for example this), but haven't yet been able to successfully run anything in my spreadsheet. It either doesn't do anything, or I get an error message of a bad file name. I don't know how to use VBA or macros, I just need someone to explain to me step-by-step what to copy and paste where and how exactly to execute the code in the spreadsheet. Thanks.

  2. #2
    Registered User
    Join Date
    11-19-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need to run macro to check if hyperlinks are valid

    Hi Buddy,
    As all hyperlinks are contained in the connections list, you can test this without a macro very easily.

    go to the "Data" tab and select "connections". Within the window that opens, you should see a list of all current links. If you choose to refresh them, you'll see whether they are working or indeed erroneous.

    I would advise that you manually select the checks and complete them in batches. Not only will the verification process slow your computer down, but the refresh will stop when it finds and error. It will however update the links checked till that point.

    Hope that helps.

  3. #3
    Registered User
    Join Date
    12-18-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Need to run macro to check if hyperlinks are valid

    Hi, thanks for your response!

    I did unsuccessfully try the connections thing before trying to use a macro. Maybe I should clarify, these are hyperlinks to pages on the internet, using the Hyperlink tool, not the hyperlink formula. In any case, when I go to Connections there is no information listed there.

+ 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. Valid email id check
    By luxmraj in forum Excel General
    Replies: 5
    Last Post: 11-09-2021, 12:51 PM
  2. Replies: 0
    Last Post: 07-22-2009, 09:24 PM
  3. Replies: 0
    Last Post: 04-16-2009, 06:21 AM
  4. Check for Valid Sheet Name
    By degmania in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-21-2008, 11:13 PM
  5. Check if date is valid
    By Lava in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2005, 10:28 AM

Tags for this Thread

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