WD97: General Information About Hyperlinks in Word

Last reviewed: March 20, 1998
Article ID: Q159940
The information in this article applies to:
  • Microsoft Word 97 for Windows

SUMMARY

This article answers the most frequently asked questions about creating and using hyperlinks in Microsoft Word 97.

MORE INFORMATION

1. Q. When I type a file address with spaces in it, Word replaces the
      address with a hyperlink after I press the SPACEBAR. How can I
      finish typing an address that includes spaces before Word converts it
      to a hyperlink?

   A. To ensure that Word will recognize an address that includes spaces
      as a single hyperlink, enclose the address in quotation marks. If the
      address is not enclosed in quotation marks, Word creates the
      hyperlink when you press the SPACEBAR.

2. Q. How do I turn off automatic hyperlinks?

   A. To turn off automatic hyperlinks, do the following:

      a) On the Tools menu, click AutoCorrect, and then click the
         AutoFormat tab.

      b) Click to clear the "Internet and network paths with hyperlinks"
         check box.

      c) Click OK.

3. Q. How do I change the display text or image of a hyperlink once it has
      been created?

   A. You can change the display text or image for a hyperlink the same
      way you edit any text or image in your document. To avoid linking to
      or opening the file represented by the hyperlink, use the keyboard to
      select the hyperlink before you edit it. To do this, follow these
      steps:

      a) Click in front of the text or image.

      b) Press SHIFT+RIGHT ARROW to select the display text or image.

         NOTE: Press CONTROL+SHIFT+RIGHT ARROW to select whole words.

      You can now edit the image or type new text.

      For additional information about hyperlinks, please see the
      following article in the Microsoft Knowledge Base:

         ARTICLE-ID: Q155773
         TITLE     : WD97: Changing Hypertext Display Text Doesn't Change
                     Underlying URL

4. Q. How do I remove a hyperlink without losing the display text
      or image?

   A. To remove a hyperlink without losing the display text or
      image, follow these steps:

      a) Right-click the hyperlink text or image, point to Hyperlink, and
         then click Edit Hyperlink.

      b) In the Edit Hyperlink dialog box, click Remove Link.

5. Q. How do I change the underlying Uniform Resource Locator (URL) for a
      hyperlink?

   A. To change the underlying URL for a hyperlink, follow these steps:

      a) With the right mouse button, click the hyperlink text or image,
         point to Hyperlink, and then click Edit Hyperlink.

      b) In the Edit Hyperlink dialog box, type or select a URL from the
         "Link to file or URL" list box.

      c) Click OK.

6. Q. How do I create hyperlinks to locations within the same document?

   A. To create a hyperlink to a location within the same document, use
      either of the following methods:

       Method 1: Use drag-and-drop functionality. To create the hyperlink
                 by dragging, follow these steps:

                 a) Save the document.

                 b) Select the word, phrase, or image you want to use as
                    the destination for the hyperlink.

                 c) Click and hold the right mouse button, drag the
                    selection to the new location, and then release the
                    mouse button.

                 d) Click Create Hyperlink Here.

       Method 2: Create a bookmark and then create a link to the bookmark.
                 To create the hyperlink this way, follow these steps:

                 a) Save the document.

                 b) Select the text or image you want to use as the
                    destination for the hyperlink.

                 c) On the Insert menu, click Bookmark.

                 d) In the Bookmark Name box, type a unique name for the
                    bookmark, and then click Add.

                 e) Move the insertion point to the location in the
                    document where you want to create the hyperlink.

                 f) On the Insert menu, click Hyperlink.

                 g) In the "Named location in file (optional)" box, type
                    the bookmark name. Or, click Browse, select the
                    bookmark you want to use, and then click OK.

                 h) Click OK.

7. Q. What is the difference between a relative and an absolute
      hyperlink?

   A. An absolute hyperlink jumps to the destination document using its
      full address; a relative hyperlink uses the address relative
      to the containing document's address, also known as the hyperlink
      base. For example, suppose that a document whose address is
      "c:\My Documents\1996 report.doc" has absolute and relative
      hyperlinks to a document whose full address (and absolute
      hyperlink) is "c:\My Documents\April\Sales.doc." The relative
      hyperlink will only contain the relative address to Sales.doc, which
      is "April\Sales.doc." Use a relative link if you want to move or
      copy your files to another location, such as a Web server.

8. Q. When I click a hyperlink in Word, I receive a message indicating
      that no program is registered to open the file. What do I do to
      open the file?

   A. You receive this message when Windows is unable to find the
      program associated with the type of document specified in the
      hyperlink path. This information is encoded in the extension
      of the hyperlink address.  To view the hyperlink, turn on
      ScreenTips, and then position the mouse pointer over the hyperlink.
      (To locate this option, on the Tools menu, click Options, and then
      click the View tab.)

      To correct this problem, install the program associated with
      the document type specified in the hyperlink.

      The file name extension is the group of characters following the
      last period in the address. The table below lists some of the
      Office document types and their extensions.

          Document type                        Extension
          -------------                        ---------

          Microsoft Access Database            .mdb
          Microsoft Excel Spreadsheet          .xls
          Microsoft PowerPoint Presentation    .pot
          Microsoft Project Schedule           .prj
          Microsoft Publisher Document         .pub
          Microsoft Word Document              .doc


Additional query words: hyperlink field hypertext hyper link html space
Keywords : kbwdinternet kbualink97 kbdta kbweb
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 20, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.