Hyperlinks and footnoting

P

Paul Breslin

Hello -

I have a macro to remove hyperlinks that works very well, (Microsoft Word
2000).

But, those annoying footnotes are a real pain.
When I download text from the Internet[1] and that text contains
footnotes[2], I have to remove the hyperlinks automatically[3] with a macro,
but have to remove each footnote manually.

Does anyone know of a macro that will do this?

This is the macro I use to delete hyperlinks in MS-Word 2000:

Sub RemoveHyperlinks()
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

Thanks,
Paul
 
R

RitzMo

Paul, you can try this:
Open the Find and Replace box.
If the MORE button is showing on the REPLACE tab, click it otherwise
click the FORMAT button at the bottom of the tab when your cursor is
in the
FIND WHAT area. Click SYTLES and locate and highlight the FOOTNOTE
REFERENCE style in the FIND STYLE dialog box and click OK.
Leave the REPLACE WITH box empty.
You can either choose to REPLACE ALL or click through each one
individually. When you replace the footnote reference style with
nothing all the footnote references are deleted from your document.
Hope this works for you,
~BJM
 

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