Target Property

       

Target property as it applies to the Browser object.

Returns or sets the document item that the Previous and Next methods locate. Read/write WdBrowseTarget.

WdBrowseTarget can be one of these WdBrowseTarget constants.
wdBrowseComment
wdBrowseEdit
wdBrowseEndnote
wdBrowseField
wdBrowseFind
wdBrowseFootnote
wdBrowseGoTo
wdBrowseGraphic
wdBrowseHeading
wdBrowsePage
wdBrowseSection
wdBrowseTable

expression.Target

expression   Required. An expression that returns a Browser object.

Target property as it applies to the Hyperlink object.

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

expression.Target

expression   Required. An expression that returns a Hyperlink object.

Example

As it applies to the Browser object.

This example moves the insertion point to the next comment in the active document.

With Application.Browser
    .Target = wdBrowseComment
    .Next
End With

As it applies to the Hyperlink object.

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"