AutoCorrectOptions - Internet and network paths with hyperlinks

L

Linda Y

I deselected the "internet and network paths with hyperlinks" under the
AutoFormat As You Type and the AutoFormat. Why do hyperlinks still appear
when I paste info from the internet? Is there some other why to prevent these
hyperlinks from appearing, without selecting one at a time.
 
G

Graham Mayor

Either use paste special > unformatted text to paste text containing links
from the internet (or use the following macro to do so)

Sub PasteUnfText()
On Error GoTo oops
Selection.PasteSpecial _
DataType:=wdPasteText, _
Placement:=wdInLine
End
oops:
Beep
End Sub

or having pasted the active links run the following macro to unlink

Sub UnlinkHyperlinks()
Dim oField As Field
For Each oField In ActiveDocument.Fields
If oField.Type = wdFieldHyperlink Then
oField.Unlink
End If
Next
Set oField = Nothing
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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