Getting Formulas of Visio SmartShapes Symbols and Pages

If you will remember, I told you that you would need a clear understanding of the ShapeSheet to exploit the power of an Automation controller application. This section is where we begin to put this statement into practice. When you have a reference to a SmartShape symbol in a Visio diagram, you can obtain any available type of information about any aspect of that symbol by accessing the Cells property and then the Formula property of that particular cell.

To obtain the cell you are interested in, you need to get a reference to the Cell object. To get this reference, use the Cells property of the Shape object and explicitly call out the quoted string for the name of the desired cell, as in ...

Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.