Hyperlink Troubleshooting

T

Teresa

Two of my hyperlinks are mapped to a document that has since undergone a
filename change. There are over 160 hyperlinks in my current document and I
don’t know how to find the errant two. (I’m processing this current document
in my online help application, and am going by what it is telling me in the
log.)

Is there a way to generate a hyperlink report? How can I find the incorrect
hyperlinks?

I’m using Word 2003 on XP. Thanks!
 
B

Beth Melton

To find the incorrect hyperlinks use these steps:

- Press Alt+F9 to toggle your field codes
- Press F5 to open the Find and Replace dialog box
- Click the Find tab and in the Find What text box, type the incorrect
filename
- Use Find Next to find each occurrence of the filename in the document.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Coauthor of Word 2007 Inside Out:
http://www.microsoft.com/MSPress/books/9801.aspx#AboutTheBook

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
H

Harvey

Do you know the old names for those two documents? if yes then you can find
them using edit\find.
 
A

Aeneas

Using Find is the easiest wa to find the two errant links; if you need to
generate the a full list at the end of a document with the heading "LIst of
hyperlinks in this document, create the following macro

Selection.EndKey Unit:=wdStory
Selection.InsertBreak Type:=wdPageBreak
Selection.Style = ActiveDocument.Styles("Heading 3")
Selection.TypeText Text:="List of hyperlinks in this document"
Selection.TypeParagraph

Dim hlHyperlink As Hyperlink
For Each hlHyperlink In ActiveDocument.Hyperlinks
Selection.TypeText Text:=hlHyperlink.Name
Selection.TypeParagraph
Next

For how to copy this macro and use it, see the following:
http://www.gmayor.com/installing_macro.htm
 
B

Beth Melton

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