outerHTML Property
Returns or sets a String that represents the HTML for the specified object and all text and HTML that it contains, including the surrouding start and end tags.
expression.outerHTML
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
See also the innerHTML, innerText, and outerText properties.
Example
The following example replaces the active element with a MARQUEE element and inserts the text and HTML inside the active element into the new MARQUEE element.
With ActiveDocument.activeElement
.outerHTML = "<marquee>" & .innerHTML & "</marquee>"
End With