FPHTMLDivElement Object
Represents a DIV element in an HTML document. See also the IHTMLDivElement object.
Using the FPHTMLDivElement Object
Use the tags method to return an IHTMLElementCollection collection that represents all the DIV elements in a document. Use the Item method to return an FPHTMLDivElement object that accesses a specific DIV element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first DIV element in the active document.
Dim objDiv As FPHTMLDivElement
Set objDiv = ActiveDocument.all.tags("div").Item(0)