Check excel hyperlink is valid with vba code

Posted on 2008-10-31
Medium Priority
Last Modified: 2008-11-04
I have an excel sheet with the below headings:
ID, Name, Link, Result

I have created a hyperlink in the column 'Link'. There are about 50 entrys at the moment. Some of these links are no longer valid. I wanted a function to run through the list and if the hyperlink is no longer available to put a 'n'o in the result column and 'yes' if it works.

I have been looking for code to validat hyperlinks but cannot find anything. Any help is appreciated
Question by:j8547
  • 2
LVL 48

Accepted Solution

Wayne Taylor (webtubbs) earned 1000 total points
ID: 22851171
Hi j8547,

If your hyperlinks are to local files, not web pages, you can use the UDF I posted in this question -> http:/Q_21649931.html


LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 22851215
Links to web pages can be validated using the function posted by fanpages here -> http:/Q_20882190.html

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question