This article has been archived. It is offered "as is" and will no longer be updated.
This article describes how to navigate to a hyperlink when you double-click a shape, by using a shape's EventDblClick event.
You can use the ShapeSheet function, GOTOPAGE, not only to navigate to different pages in a drawing, but also to navigate to a Uniform Resource Locator (URL). To have Visio open a URL when you double-click a shape, use the GOTOPAGE function in the EventDblClick handler for the shape's ShapeSheet cell.
To modify a shape's double-click event to open a URL, follow these steps:
Select the shape. Then, on the Window menu, click Show ShapeSheet.
In the ShapeSheet window, find the EventDblClick cell in the Events section.
In the EventDblClick cell, type the formula and URL to which you want to navigate, for example:
When you double-click the shape, Visio opens the default Web browser and browses to the URL.