Solved

Check excel hyperlink is valid with vba code

Posted on 2008-10-31
2
2,443 Views
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
0
Comment
Question by:j8547
  • 2
2 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 250 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

Regards,

Wayne
0
 
LVL 47

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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now