Microsoft KB Archive/291003

= How to visit a Web site when you double-click a shape in Visio =

Article ID: 291003

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003
 * Microsoft Visio 2002 Standard Edition
 * Microsoft Visio 2002 Professional Edition
 * Microsoft Visio 2000 Enterprise Edition
 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Standard Edition
 * Microsoft Visio 2000 Technical Edition

-



This article was previously published under Q291003



SUMMARY
This article describes how to navigate to a hyperlink when you double-click a shape, by using a shape's EventDblClick event.



MORE INFORMATION
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:

GOTOPAGE(&quot;http://www.microsoft.com&quot;)



When you double-click the shape, Visio opens the default Web browser and browses to the URL.

Additional query words: gotopage hyperlink www web site ftp http

Keywords: kbhowto KB291003

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.