Object: Application.ActiveDocument.body.innerHTML
This procedure will get the innerHTML of the ActiveDocument.
The innerHTML is everything between the <body> and the </body> tag.
The only difference between innerHTML and OuterHTML is that the OuterHTML will include the <body> and </body> tags. The innerHTML will not include these tag.
Function GetInnerHTML() As String 'Tested 20090208 On Error GoTo errHandler1 GetInnerHTML = _ Application.ActiveDocument.body.innerHTML Exit Function errHandler1: 'Notify user of failure. MsgBox "GetInnerHTML has failed", _ vbCritical, "Function Failure" End Function