Remove all hyperlinks after makeing bold a Word Document.

A

AL PT

Can either of these following macros be changed to make the hyperlinks bold
and than remove the hyperlink?

Sub RemoveHyperLinksGLobally()
Dim i As Integer
For i = ActiveDocument.Hyperlinks.Count To 1 Step -1
ActiveDocument.Hyperlinks(i).Delete
Next i
End Sub


-----------------------------------------------------------------------------------
Or This one


Sub UnlinkHyperlinks()
Dim nHL As Long
For nHL = 1 To ActiveDocument.Hyperlinks.Count
ActiveDocument.Hyperlinks(1).Delete
Next nHL
End Sub
 
G

Graham Mayor

If you are going to remove them from the document, why do you want them
bold?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top