SmartArtNode.TextFrame2 property (Office)

Returns the text associated with the SmartArtNode object. Read-only.

Syntax

expression.TextFrame2

expression An expression that returns a SmartArtNode object.

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.