TextFrame2.TextRange property (Office)

Sets the text for a range of nodes in a SmartArt object. Read-only.



expression An expression that returns a TextFrame2 object.


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.