WD: "Bookmark Not Defined!" Error with Converted Hyperlink FileLast reviewed: August 15, 1997Article ID: Q166867 |
The information in this article applies to:
SYMPTOMSIf you create a document in Word 97 containing a hyperlink, save it in Rich Text Format (RTF) or in Word 6.0/95 format, and then open the saved document in Word 6.0 or Word 7.0 (95), the hyperlink fields will generate the following error message:
Error! Bookmark not definedThis problem occurs when the fields are updated.
CAUSEA bookmark field is created by putting "REF" followed by a bookmark name inside field braces (to create field braces, press CTRL+F9). For example, the following resembles a valid bookmark:
{REF bookmarkname}As a shortcut, you can type in only the bookmark name without the REF field and Word will automatically add the REF field. For example if you press CTRL+F9 and type "bookmarkname," to create the following
{bookmarkname}is converted to
{REF bookmarkname}Word 97 saves a hyperlink field just as it is. When the earlier version of Word comes across the hyperlink field, it assumes that the field is a bookmark name (because hyperlink fields did not exist in earlier versions of Word). The earlier version of Word will add the REF keyword to what it thinks is a bookmark name. Therefore, the following field
{HYPERLINK http://www.microsoft.com}is converted to:
{REF HYPERLINK http://www.microsoft.com}Because the document does not contain a bookmark called "HYPERLINK http://www.microsoft.com," it returns the "Error! Bookmark not defined" error message.
RESOLUTIONTo correct this problem, install Microsoft Word 97 Service Release 1 (SR- 1). In SR-1, when you save in Word 6.0/95 (binary) format, the hyperlink field is converted to unformatted text. If you save as "Word 97 & 6.0/95 - RTF" the problem still occurs and you get an error message when the field is updated. To work around this problem, use any of the following workarounds.
Method 1--Unlink the Fields in Word 97 Before You Save the FileYou can use the following macro to unlink the hyperlink fields before saving the document in the earlier Word document format. Unlinking the hyperlink field will convert it to text and it will appear normally in the earlier version of Word. Note, however, that unlinking the hyperlink field will mean that it no you can no longer click it to jump a location in Word 97/ For more information about converting the text back to a hyperlink, see the "More Information" section of this article. To use this workaround, follow these steps:
Method 2--Unlink the Fields in the Earlier Version of WordUse this method if the document has just been opened in the earlier version of Word and if no changes have been made to it yet. If you have many hyperlink fields or if you want to automate the process, use "Method 3" described later in this document.
Use this method if the document contains many hyperlink fields that have been saved as Word 6.0/95 or RTF, in an earlier version of Word. This method also works well if you want to automate the unlinking of the fields. To do this, use the following steps:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Word 97 for Windows. This problem was corrected in Microsoft Word 97 SR-1. For additional information about SR-1, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q172475 TITLE : OFF97: How to Obtain and Install MS Office 97 SR-1NOTE: When you save as Word 6.0/96 (binary) format. If you save as "Word 97 & 6.0/95 - RTF" the problem still occurs and you get an error message when the field is updated.
MORE INFORMATIONIf you are using Word 97 and you receive a document from an earlier version of Word containing UNC or URL paths, you can use Word 97's autoformatting feature to convert them to hyperlinks by following these steps:
|
Additional query words: SR1 release1 8.0 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |