SmartArtNodes Object (Office)

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.

Represents a collection of nodes within a Smart Art diagram.

These nodes correspond directly to semantic elements contained within the data model of the graphic.

The following code returns the number of nodes in the Smart Art diagram.

ActivePresentation.Slides(1).Shapes(1).SmartArtNodes.Count
Show: