SmartArt.Nodes property (Office)
Retrieves the children of the root node of the SmartArt diagram. Read-only.
Syntax
expression.Nodes
expression An expression that returns a SmartArt object.
Remarks
The root node has no parent node and only contains children if there are children present in the SmartArt graphic's data model. In the following example, the nodes A and F will be returned.
A
B
C
D
- E
F
Example
The following code adds a top-level node in Microsoft PowerPoint.
ActivePresentation.Slides(1).Shapes(1).SmartArt.Nodes.Add
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.