Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I remove ALL hyperlinks from a .docx file?
I imported a file from a Web page and created a Word 2007 .docx file. The
file is loaded with hyperlinks. How can I remove them without doing each individually? I actually have a number of these files. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I remove ALL hyperlinks from a .docx file?
You could use the following macro which replaces each hyperlink with its
text. =========== Sub RemoveHyperlinks() Dim fld As Field Dim str As String For Each fld In ActiveDocument.Fields If fld.Type = wdFieldHyperlink Then fld.Select Selection.Text = fld.Result End If Next End Sub =========== Yves "Ed S" wrote in message ... I imported a file from a Web page and created a Word 2007 .docx file. The file is loaded with hyperlinks. How can I remove them without doing each individually? I actually have a number of these files. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I update hyperlinks to the converted docx files? | New Users | |||
How do I get old hyperlinks to look for .docx files? | Microsoft Word Help | |||
Opening docx hyperlink from within a docx file | Microsoft Word Help | |||
How can I remove all hyperlinks at once to save as no-HPLnk file | Microsoft Word Help | |||
Docx hyperlinks? | Microsoft Word Help |