FPHTMLFrameElement Object

Microsoft FrontPage Visual Basic

FPHTMLFrameElement Object

FPHTMLFrameElement Multiple objects

Represents a FRAME element in an HTML document. See also the IHTMLFrameElement object.

Using the FPHTMLFrameElement Object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all FRAME elements in a document. Use the Item method to return an FPHTMLFrameElement object that accesses a specific FRAME element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first FRAME element in the active document.

    Dim objFrame As FPHTMLFrameElement

Set objFrame = ActiveDocument.all.tags("frame").Item(0)