XMLNode.Level procedure builder

XMLNode.Level (Word)

Returns a WdXMLNodeLevel constant that represents whether an XML element is part of a paragraph, is a paragraph, or is contained within a table cell or contains a table row.

wdXMLNodeLevelCell, wdXMLNodeLevelInline, wdXMLNodeLevelParagraph, wdXMLNodeLevelRow.
Dim wxmLevel As WdXMLNodeLevel
wxmLevel = ActiveDocument.SelectSingleNode.Level