CustomXMLPart.DocumentElement property (Office)

Gets the root element of a bound region of data in a document. If the region is empty, the property returns Nothing. Read-only.

Syntax

expression.DocumentElement

expression An expression that returns a CustomXMLPart object.

Return value

CustomXMLNode

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.