SmartArt.AllNodes property (Office)

Retrieves a SmartArtNodes object containing all of the nodes within the SmartArt diagram. Read-only.

Syntax

expression.AllNodes

expression An expression that returns a SmartArt object.

Remarks

The nodes are retrieved in order, independent of data model. For example, the following data model would retrieve the nodes in order A, B, C, D, E, F.

  • A

    • B

    • C

      • D

      • E

  • F

Example

The following example sets the text inside the first node.

smartart.AllNodes(1).TextFrame2.TextRange.Text="Node 1"

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.