SmartArtNodes.Add method (Office)
Adds a new SmartArtNode object to the diagram with specified text.
Syntax
expression.Add
expression An expression that returns a SmartArtNodes object.
Return value
SmartArtNode
Remarks
This new node is added to the bottom of the data model at the top most level for this collection of nodes. If the highest level was 2, the new node's level would then be 2 as well.
Example
The following code adds a SmartArtNode to the collection of SmartArtNodes.
Dim saNodes As SmartArtNodes
saNodes.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.