Share via


Hyperlink.Target Property (Word)

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

Syntax

expression .Target

expression Required. A variable that represents a Hyperlink object.

Example

This example sets the specified hyperlink to open in a new browser window.

ActiveDocument.Hyperlinks(1).Target = "_blank"

This example sets the specified hyperlink to open in the frame called "left."

ActiveDocument.Hyperlinks(1).Target = "left"

See Also

Concepts

Hyperlink Object Members

Hyperlink Object