Hyperlink Members (Word)

Represents a hyperlink. The Hyperlink object is a member of the Hyperlinks collection.

Methods

Name

Description

AddToFavorites

Creates a shortcut to the document or hyperlink and adds it to the Favorites folder.

CreateNewDocument

Creates a new document linked to the specified hyperlink.

Delete

Deletes the specified hyperlink.

Follow

Displays a cached document associated with the specified Hyperlink object, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.

Properties

Name

Description

Address

Returns or sets the address (for example, a file name or URL) of the specified hyperlink. Read/write String.

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

EmailSubject

Returns or sets the text string for the specified hyperlink’s subject line. Read/write String.

ExtraInfoRequired

True if extra information is required to resolve the specified hyperlink. Read-only Boolean.

Name

Returns the name of the specified object. Read-only String.

Parent

Returns an Object that represents the parent object of the specified Hyperlink object.

Range

Returns a Range object that represents the portion of a document that is contained within a hyperlink.

ScreenTip

Returns or sets the text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink. Read/write String.

Shape

Returns a Shape object for the specified hyperlink or diagram node.

SubAddress

Returns or sets a named location in the destination of the specified hyperlink. Read/write String.

Target

Returns or sets the name of the frame or window in which to load the hyperlink. Read/write String.

TextToDisplay

Returns or sets the specified hyperlink's visible text in a document. Read/write String.

Type

Returns the hyperlink type. Read-only MsoHyperlinkType.