Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Remove all hyperlinks after makeing bold a Word Document.
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 |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Remove all hyperlinks after makeing bold a Word Document.
If you are going to remove them from the document, why do you want them
bold? -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org AL PT wrote: 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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I set right and left alignment on the same line in Word? | Page Layout | |||
how do i set up template in vbeditor without proggramming language | New Users | |||
Envelope Address | New Users | |||
Converted document from WordPerfect. New footnotes are not being. | Microsoft Word Help | |||
Continuous breaks convert to next page breaks | Microsoft Word Help |