XMLNode.PreviousSibling (Word)

Returns an XMLNode object that represents the previous element in the document that is at the same level as the specified element.

If the specified element is the first element in the XMLNodes collection, this property returns Nothing.


Dim objNode As XMLNode 
 
Set objNode = ActiveDocument.XMLNodes(3).PreviousSibling