FPHTMLXSLWebPartElement Object

Microsoft FrontPage Visual Basic

FPHTMLXSLWebPartElement Object

FPHTMLXSLWebPartElement Multiple objects

Represents an Extensible Stylesheet Language (XSL) Data View Web Part. See also the IHTMLXSLWebPartElement object.

This object is supported only by Web pages or sites that are based on Microsoft Windows SharePoint Services.

Using the FPHTMLXSLWebPartElement Object

Use the webParts property to return an IHTMLElementCollection collection that represents a collection of all Web Parts in a document. Use the Item method to return an FPHTMLXSLWebPartElement object that accesses a specific XSL Data View Web Part, referenced by ordinal number. The following example accesses the first Web Part in the active document. This example assumes that the first Web Part is an XSL Data View Web Part.

    Dim objXSLWebPart As FPHTMLXSLWebPartElement

Set objXSLWebPart = ActiveDocument.webParts.Item(0)