Selection.WordOpenXML property (Word)

Returns a String that represents the XML contained within the selection in the Microsoft Word Open XML format. Read-only.

Syntax

expression. WordOpenXML

expression An expression that returns a Selection object.

Remarks

This property returns only the XML in the document that is needed to represent the specified selection.

See also

Selection Object

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.