Please Note: This article is written for users of the following Microsoft Word versions: 2007 and 2010. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Checking for Valid Hyperlinks.

Checking for Valid Hyperlinks

by Allen Wyatt
(last updated July 27, 2016)

8

Raghu has a document that has a good number of hyperlinks in it to various Websites. He wants to step through each of the hyperlinks and have them checked, programmatically, to see if they are valid links that don't generate errors.

There is no way to do this automatically in Word, as such functionality is not built into the program. If you only have a few links in the document, you might try saving it as an HTML file. You could then load the file in Internet Explorer and click each link to see if it is valid.

If you are searching for a more automatic method of checking, you would need to create a macro that would step through the links in a document and check them out. The VBA code could end up being rather complex.

Perhaps a better solution, rather than writing your own code, is to use a third-party add-in that can do the checking for you. In searching around, the following add-in was discovered:

https://www.ablebits.com/word-links-checker/

We haven't tried this add-in, but it appears to do everything that Raghu wanted. Perhaps the best news: the add-in is free.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11109) applies to Microsoft Word 2007 and 2010. You can find a version of this tip for the older menu interface of Word here: Checking for Valid Hyperlinks.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining If a Date and Time is within Working Hours

Excel is great at working with times and dates. Sometimes, though, it can be a bit tricky to figure out how to work with both ...

Discover More

Creating Page Footers and Headers

Headers and footers can add a final, professional touch to your printed document. Here's the quick way to add the headers and ...

Discover More

Should I Leave My Computer On All the Time?

Do you turn your computer on and off all the time? Do you really know if this is good for your computer or not?

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Pasting a Hyperlink

When you paste information into a document, you can specify that it be inserted as a hyperlink rather than as normal text. ...

Discover More

Creating Hyperlinks from E-mail Addresses

Got a document that has a whole raft of e-mail address in it? You can easily convert all of them to clickable hyperlinks by ...

Discover More

Getting Rid of the Ctrl+Click Message

When you add a hyperlink to a document, you can later click that link to display whatever is linked to. Well, you actually ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 - 2?

2017-08-28 07:17:44

ajay

Great Tip.In case of Excel Sheets, you can easily validate URLs from Files in Bulk by using this tool Excel Url Validator https://excelurlvalidator.com
Separate clean reports will be saved after validation with the cause of the error.


2015-06-18 06:59:31

Lilli Hausenfluck

Thanks, Ken; you're right. I forgot that F11 will find other fields.


2015-06-17 05:54:41

Ken Endacott

F11 advances to the next field that may or may not be a hyperlink. If the document has few fields repeating F11 until no more fields are found is a solution to Pierre's problem. Otherwise, search for "HYPERLINK".


2015-06-16 10:01:07

Lilli Hausenfluck

To answer Pierre's question: F11 finds hyperlinks. If you start at the beginning of a document (this part is important) and press F11 and nothing happens, then your document has no hyperlinks. This doesn't test for live links, just answers Pierre's question.


2015-06-16 05:21:03

Ken Endacott

If not already displayed, turn on display field codes with ALT/F9 then carry out a Find for "HYPERLINK".


2015-06-15 11:40:31

Pierre Sundborg

Nice tip. But I'd like to do exactly the opposite. My document contains many Web addresses in source citations, and I believe I disabled all of them when inserted by selecting each link, then Ctrl-6. But, I'd like to be certain that there are NO active hyperlinks anywhere in the document. May I do that with Ctrl-A to select the entire (700 page, 92MB) document, then Ctrl-6 ? I'd like to know that won't do anything bad. Thanks!


2015-06-15 09:33:15

Joyce

I look to this site for tried-and-true solutions and I'm rarely disappointed. Consequently I just can't imagine why you would recommend a solution that you haven't even tried!


2015-06-15 08:53:57

Kevin Fitzgerald

Well, it's not exactly free. It has a 15 day trial period, then if you decide to keep it the cost is $9.95 USD.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.