FPHTMLFrontPageBotElement Object

Microsoft FrontPage Visual Basic

FPHTMLFrontPageBotElement Object

FPHTMLFrontPageBotElement Multiple objects

Represents a Microsoft FrontPage web component. See also the IHTMLFrontPageBotElement and IHTMLFrontPageBotElement2 objects.

Using the FPHTMLFrontPageBotElement object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the FrontPage components in a document. Use the Item method to access an FPHTMLFrontPageBotElement object that accesses a specific FrontPage component, referenced by ordinal number or by the value of the id attribute. The following example accesses the first FrontPage component in the active document.

    Dim objWebbot As FPHTMLFrontPageBotElement

Set objWebbot = ActiveDocument.all.tags("webbot").Item(0)