Selection.WordOpenXML property (Word)
Returns a String that represents the XML contained within the selection in the Microsoft Word Open XML format. Read-only.
expression An expression that returns a Selection object.
This property returns only the XML in the document that is needed to represent the specified selection.
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.