CustomXMLNode.LastChild property (Office)

Gets a CustomXMLNode object corresponding to the last child element of the current node. If the node has no child elements (or if it is not of type msoCustomXMLNodeElement), the property returns Nothing. Read-only.

Syntax

expression.LastChild

expression An expression that returns a CustomXMLNode 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.