How can I Identify Broken Hyperlinks?

shae341

New Member
Joined
Nov 13, 2008
Messages
5
Hello -
I have a very large spreadsheet identifying all of our company's controlled documents, including their Origination Date, Review Date, Hyperlink, Etc.

I am trying to ensure that all the hyperlinks are up-to-date.

Is there a way to identify any and all broken hyperlinks in the spreadsheet without having to click on each one individually?

Thanks a lot!
-Shae341
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Maybe something like this?

Code:
Dim oLink As Hyperlink
Dim sFile As String

For Each oLink In ActiveSheet.Hyperlinks
    sFile = Dir(oLink.Address)
    If sFile = "" Then
        oLink.Parent.Interior.ColorIndex = 3
    End If
Next

Gary
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top