Hyperlink to anchor or bookmark goes to top of document (173150)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q173150 SYMPTOMS
When loading a Uniform Resource Locator (URL) that specifies a bookmark or
anchor as part of the URL, Microsoft Word 97 does not position the window
at the bookmark. For example, when loading the following URL, Microsoft
Word positions you at the top of the document instead of jumping to the
bookmark location within the document:
NOTE: This problem does not exist when you jump to bookmarks in local
documents.
WORKAROUND
Type or insert a hyperlink with a bookmark or anchor reference in your
Microsoft Word document.
Although this hyperlink is in the correct format it will take you to the
top of the named page and not to the named location.
To make the hyperlink function correctly, follow these steps:
- Right-click the hyperlink.
- Point to hyperlink and then click Edit Hyperlink on the shortcut menu.
- Add a # (pound sign) to the front of the bookmark name in the "Named
location in file (optional)" area.
- Click OK.
The hyperlink will now display a hyphen between the page name and the # and
will work correctly (it will take you to the named location in the
document).
NOTE: Typing the hyphen in the URL will not work.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
MORE INFORMATION
Bookmarks (also called anchors in HTML) can be used to move to a particular
section in a document. To create a link from one document to a specific
section in another document, a named anchor or bookmark must first be
created in the second document. Now, in the first document, you can create
a hyperlink to the bookmark or anchor in the second document.
REFERENCES
For more information about "working with hyperlinks," click the Office
Assistant, type "hyperlinks to bookmarks," click Search, and then click
"Create a cross reference."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Word Help is not installed on your computer, please
see the following article in the Microsoft Knowledge Base:
120802 How to add/remove a single Office program or component
Modification Type: | Minor | Last Reviewed: | 3/16/2006 |
---|
Keywords: | kbbug kbpending KB173150 |
---|
|