This documentation is archived and is not being maintained.

IHTMLBodyElement Object

Office 2003
IHTMLBodyElement

Represents the BODY element in an HTML document. The IHTMLBodyElement object provides access to a limited number of properties and methods that relate to a BODY element. For access to all properties and methods, use the FPHTMLBody object.

Using the IHTMLBodyElement Object

Use the Body property to return an IHTMLBodyElement object. The following example creates an IHTMLBodyElement object that represents the BODY element in the active document.

    Dim objBody As IHTMLBodyElement

Set objBody = ActiveDocument.all.tags("body").Item(0)
  


Parent Objects

Child Objects


Show: