Table of contents
TOC
Collapse the table of content
Expand the table of content

Hyperlink.Follow Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Causes Microsoft Visio to navigate to a hyperlink.

Syntax

expression . Follow

expression A variable that represents a Hyperlink object.

Return Value

Nothing

Example

The following example draws a rectangle shape, adds a Hyperlink object to the shape, sets its Address and NewWindow properties, and then uses the Follow method to navigate the hyperlink.

Before running this code, replace address with a valid Internet or intranet address.


Public Sub Follow_Example() 

 Dim vsoHyperlink As Visio.Hyperlink 

 Set vsoHyperlink = ActivePage.DrawRectangle(0,0,5,5).AddHyperlink 

 vsoHyperlink.Address = "http://address /" 
 vsoHyperlink.NewWindow = False 
 vsoHyperlink.Follow 

End Sub
© 2018 Microsoft