Microsoft KB Archive/290572

= Visio2000: How to Go to a Web Site When You Double-Click a Shape =

PSS ID Number: 290572

Article Last Modified on 5/8/2001

-

The information in this article applies to:


 * Microsoft Visio 2000 Standard Edition
 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Technical Edition
 * Microsoft Visio 2000 Enterprise Edition

-



This article was previously published under Q290572



For a Microsoft Visio 2002 version of this article, see 291003.



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: goto page hyperlink www web site ftp http

Keywords: kbhowto KB290572

Technology: kbVisio2000Search kbVisioSearch kbZNotKeyword3

-

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

© Microsoft Corporation. All rights reserved.