XMLNode.Text property (Word)

Returns or sets the text contained within the XML element. Read/write String.



expression A variable that represents a 'XMLNode' object.


The Text property returns the plain, unformatted text that is contained within the XML element. Setting this property, replaces the existing text.

See also

XMLNode Object

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.