T
tjtjjtjt
I have this code from a previous post by Jay Freedman to delete all the
hyperlinks in a document.
Sub UnlinkHyperlinks()
Dim nHL As Long
For nHL = 1 To ActiveDocument.Hyperlinks.Count
ActiveDocument.Hyperlinks(1).Delete
Next nHL
End Sub
Can this be modified to delete only hyperlinks in the current selection?
Thanks,
hyperlinks in a document.
Sub UnlinkHyperlinks()
Dim nHL As Long
For nHL = 1 To ActiveDocument.Hyperlinks.Count
ActiveDocument.Hyperlinks(1).Delete
Next nHL
End Sub
Can this be modified to delete only hyperlinks in the current selection?
Thanks,