Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Visio VBA reference

Visio VBA reference

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes.

Last modified: July 29, 2015

Applies to: Visio 2013

This reference contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on Visio. It includes:

  • An overview of using Automation with Visio.

  • Details on Visio objects, properties, methods, enumerations, and events.

  • Information about the Visio object model, the Visio type library, and extending the functionality of Visio with macros, add-ons, and COM (Component Object Model) add-ins.

  • A sample Visual Basic for Applications (VBA) macro.

  • Information about common Automation tasks, such as starting the Visual Basic Editor; viewing Visio object, property, method, enumeration, and event descriptions in the Object Browser; connecting to data sources, linking shapes to data, and displaying shape data graphically; and running macros and add-ons.

  • Information about using the Visio Drawing Control to integrate Visio into third-party applications.

The documentation contains the following sections:

  • Concepts: Provides important concepts for developing custom Visio solutions.

  • Common tasks: Describes common automation tasks for developing custom Visio solutions.

  • Reference: Provides reference materials for the Visio object model.

For information about working with the cells, rows, and sections of a Visio ShapeSheet, either in the ShapeSheet window or by using Automation, see the Visio 2013 ShapeSheet Reference.

Show:
© 2015 Microsoft