GetFirstHypertext()

For a Text object named Text 1, use the following syntax:

var Link = Text_1.GetFirstHypertext()

Note:

The Return Value will be a new Hypertext object in the variable named Link. The Hypertext object is used as the parameter in the GetNextHypertext function.

Use the GetText function if you want to view the hyperlink’s text (i.e. the underlined hypertext in the Text object).