Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Word > Fields > Links and References > HYPERLINK

 HYPERLINK "FileName" [Switches]
 A hyperlink is a "hot spot" that allows you to jump to another location. The location can include another file on your hard disk or company's network (such as a Microsoft Word document or a Microsoft Excel worksheet), an Internet address (such as http://www.microsoft.com), or a location such as a bookmark or slide. The field includes display text, which is often blue and underlined, that the user clicks to jump to the specified location. You can insert hyperlinks by clicking the Hyperlink command on the Insert menu.

 filenameThe destination you want to jump to
If the location includes a long file name with spaces, enclose it in quotation marks
Replace single backslashes with double backslashes to specify the path, for example: C:\\My Documents\\Manual.doc
 switches 
 \l??
 \m
 \n
 \o
 \t
 \t "_top"
 \t "_self"
 \t "_blank"
 \t "_parent"


 REMARKS
 
  • The default (without the switch specified) is Page Default (none).
  •  
  • For Internet addresses, include the protocol and the same syntax as the URL, for example: http://www.microsoft.com/ie/msie.htm, and "mailto:someone@microsoft.com".
  •  
  • Clicking the blue text opens the worksheet called Budget.xls in the My Documents folder. The hyperlink display text is "1997 Budget" and isn't included in the field syntax. You can edit the display text for the field by typing over it.

  •  EXAMPLES
     "The project's budget is final. Click { HYPERLINK "C:\\My Documents\\budget.xls" } for more information"
    ??

     Fields - H | Index - H | Office Online 

     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.Top