
Sub a_a_TrovaEliminaCollegamenti()
Dim collIper As String
Dim Messaggio As String
For Each Hyperlink In ActiveSheet.Hyperlinks
If Hyperlink.Address = "" Then
collIper = collIper & Hyperlink.SubAddress
Else
collIper = collIper & Hyperlink.Address
End If
Messaggio = MsgBox("Cancello l'Hyperlink " & collIper & "?", vbYesNo + vbQuestion, "CANCELLO?")
If Messaggio = vbYes Then
Hyperlink.Delete
End If
collIper = ""
Next
End Sub |
Sub a_a_TrovaEliminaCollegamenti()
Dim collIper As String
Dim Messaggio As String
For Each Hyperlink In ActiveSheet.Hyperlinks
If Hyperlink.Address = "" Then
collIper = collIper & Hyperlink.SubAddress
Else
collIper = collIper & Hyperlink.Address
End If
cella = Hyperlink.Parent.Address
Messaggio = MsgBox("Cancello l'Hyperlink " & collIper & " nella cella " & cella & " ?", vbYesNo + vbQuestion, "CANCELLO?")
If Messaggio = vbYes Then
Hyperlink.Delete
End If
collIper = ""
Next
End Sub
|
