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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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