Visio VBA reference
Collapse the table of content
Expand the table of content

Visio VBA reference

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Note Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model.

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:
© 2016 Microsoft