Article ID: 829717 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
This article contains sample macros that you can use to hide and to show the Search for Shapes box that is displayed on the Shapes task pane in Microsoft Office Visio 2007 and Microsoft Office Visio 2003.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
Macro to hide the "Search for Shapes" box on the Shapes task paneTo hide the Search for Shapes box on the Shapes task pane in Visio, create a macro that contains the following code:
Macro to show the "Search for Shapes" box on the Shapes task paneTo show the Search for Shapes box on the Shapes task pane in Visio, create a macro that contains the following code:
For more information about how to search for shapes in Visio, see Visio Help. To do so, on the Help menu, click Microsoft Office Visio Help, type finding shapes in the Search for box, and then press ENTER to view the topics that are returned.
For more information about Visio, visit the following Microsoft Web site: