Non-MailMerge field

{ HYPERLINK "location" [switches] }

Inserts a hyperlink. When selected, causes control to jump to the location specified by a field argument. That location can be a bookmark or an URL.

Hyperlinks and bookmarks are accessible via the SubDocument.Hyperlinks and SubDocument.Bookmarks properties. When a hyperlink is clicked, the RichEditControl.HyperlinkClick event is fired.

The AutoCorrect feature enables you to automatically (as you type) transform web references, email addresses or network paths to a hyperlink. Use the AutoCorrectOptions.DetectUrls property to turn this functionality off.

You can edit a hyperlink or a bookmark using a dialog window. Before a dialog is shown, a corresponding event fires. You can handle this event and invoke a custom form descendant instead. See the RichEditControl.HyperlinkFormShowing and the RichEditControl.BookmarkFormShowing events for more information.

See Also