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. Possible return values are wdXMLNodeLevelCell, wdXMLNodeLevelInline, wdXMLNodeLevelParagraph, wdXMLNodeLevelRow.


Dim wxmLevel As WdXMLNodeLevel
wxmLevel = ActiveDocument.SelectSingleNode.Level