O'Reilly logo

Professional Development with Visio® 2000 by David Edson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Visio VBA Automation Basics

IN THIS CHAPTER

  • Properties, Methods, and References

  • Early Versus Late Binding of Object Variables

  • When, Where, and How to Run your Automation Program

  • VB-Specific Files in Visio

  • Interpreting the Command String

Let's get things started by dissecting a simple Visio Automation application. The purpose of this automation code is to retrieve the name of a selected SmartShape symbol in the current page of the current Visio diagram.

This code is found in a Visio diagram called GetShape.VSD. This is found on the companion CD for this book. In order to run this application, select the truck on the page, and then select Tools, Macros, ModuleGetShape, GetShape from the menus. When the application is launched, it executes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required