Add Method (Hyperlinks Collection) Example
This example turns the selection into a hyperlink to the Microsoft address on the World Wide Web.
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, _
Address:="http:\\www.microsoft.com"
This example turns the selection into a hyperlink that links to the bookmark named "MyBookMark" in MyFile.doc.
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, _
Address:="C:\My Documents\MyFile.doc", SubAddress:="MyBookMark"
This example turns the first shape in the selection into a hyperlink.
ActiveDocument.Hyperlinks.Add Anchor:=Selection.ShapeRange(1), _
Address:="http:\\www.microsoft.com"