FollowHyperlink Method Example

This example follows the specified URL address and displays the Microsoft home page in a new window.

ActiveDocument.FollowHyperlink _
    Address:="http://www.Microsoft.com", _
    NewWindow:=True, AddHistory:=True

This example displays the HTML document named "Default.htm."

ActiveDocument.FollowHyperlink Address:="file:C:\Pages\Default.htm"