This should work for al the hyperlinks in one sheet.
Sub Test()
Dim MyHyperlink As Hyperlink
Dim ContainsDouble As Boolean
For Each MyHyperlink In ActiveSheet.Hyperlinks
MyArray = Split(MyHyperlink.Address, "\")
ContainsDouble = False
For N = 0 To UBound(MyArray) - 1
If MyArray(N) = MyArray(N + 1) Then
ContainsDouble = True
Exit For
End If
Next N
If ContainsDouble = True Then
NewHyperLink = ""
For M = 0 To UBound(MyArray)
If M <> N Then
NewHyperLink = NewHyperLink & MyArray(M) & "\"
End If
Next M
NewHyperLink = Left(NewHyperLink, Len(NewHyperLink) - 1)
MyHyperlink.Address = NewHyperLink
End If
Next MyHyperlink
End Sub
If this works, it can be extended to multiple workbooks.
Bookmarks