FPHTMLTableCaption Object

Microsoft FrontPage Visual Basic

FPHTMLTableCaption Object

FPHTMLTableCaption Multiple objects

Represents a CAPTION element for a TABLE element in an HTML document. See also the IHTMLTableCaption object.

Using the FPHTMLTableCaption object

Use the caption property of the FPHTMLTable object to return an FPHTMLTableCaption object that represents the CAPTION element for that table. The following example accesses the first CAPTION element in the first TABLE element in the active document.

    Dim objTable As FPHTMLTable
Dim objCaption As FPHTMLTableCaption

Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objCaption = objTable.Caption