Address Property

Applies To

HyperLink object.

Description

Returns or sets the address of the target document. Read/write String.

See Also

FollowHyperlink method, SubAddress property.

Example

This example scans myDocument for a hyperlink to the Microsoft Web site.

For Each s In myDocument.Hyperlinks
    If s.Address = "http://www.microsoft.com" Then
        MsgBox "You have a link to the Microsoft Home Page"
    End If
Next