How to Create Hyperlinks to Bookmarks in Local Documents

ID: Q128499


The information in this article applies to:
  • Microsoft Internet Assistant for Word, versions 1.0z, 2.0z
  • Microsoft Word for Windows, versions 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a


SUMMARY

This article describes how to create hyperlinks to bookmarks in local documents.

NOTE: Any jumps to bookmarks in local documents will not work unless the "destination" document (which contains the bookmark) is closed. Whenever you want to test a hyperlink to another document's bookmarks, be sure the bookmarked document is closed.


MORE INFORMATION

  1. To create hyperlinks to specific sections in other local documents, you first need to set up the other document.

    Use these steps to create bookmarks in the first document (here called FIRST.HTM):


    1. Highlight the text that you want to link to.


    2. From the Edit menu, choose Bookmark.


    3. Type a unique name for the bookmark and choose OK.


    4. From the View menu, choose Web Browse.


    5. Save and close the first document.


  2. Next, create the document (here called SECOND.HTM) that contains the hyperlink to the desired section in the first document. In the second document, use these steps to create the links:


Internet Assistant 1.0z

  1. Highlight the text you want to use as the hyperlink.


  2. From the Insert menu, choose Hyperlink.


  3. Select the To Local Document tab.


  4. Highlight the document you want to link to and choose OK.


  5. From the View menu, choose Web Browse.


  6. From the File menu, choose Save As.


  7. In the Save File As Type list, select HyperText Markup Language (HTML), type in the filename, and choose OK.


  8. Close the document.


  9. From the File menu, choose Open.


  10. Choose the Confirm Conversions check box.


  11. Highlight SECOND.HTM and choose OK.


  12. Select Text Only and choose OK.


  13. Locate the anchor (<A>...</A>) to FIRST.HTM. It should look similar to this:


  14. <A HREF="first.htm>hyperlink text</A>
  15. Modify the anchor tag so that it now looks like this:


  16. <A HREF="first.htm#bookmark>hyperlink text</A>
  17. Save and close the document.


With FIRST.HTM closed, you can now open SECOND.HTM as HTML, and click on the hyperlink to jump to the bookmarks in FIRST.HTM.

Internet Assistant 2.0z

  1. Highlight the text you want to use as the hyperlink.


  2. From the Insert menu, choose Hyperlink.


  3. In the File or URL text box, type the name of the URL for First.htm.


  4. In the Bookmark Location in File text box, type the name of the Bookmark you added to First.htm.


  5. Click OK.


  6. Note: Although the hyperlink to the bookmark in another document will work correctly when you view the document in your browser, Internet Assistant 2.0 will display the following error when you activate this link:
    Cannot Find File.

Additional query words: winword 1.0 iaword word6 ia

Keywords : kbwdinternet
Version : WINDOWS:1.0z,2.0z,6.0a,6.0c,7.0,7.0a; winnt:6.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: October 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.