FPHTMLTable Object

Microsoft FrontPage Visual Basic

FPHTMLTable Object

FPHTMLTable Multiple objects

Represents a TABLE element in an HTML document. See also the IHTMLTable object.

Using the FPHTMLTable object

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

    Dim objTable As FPHTMLTable

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

To change the properties for the TFOOT, THEAD, TR, and TD elements, use the FPHTMLTableSection, FPHTMLTableRow, FPHTMLTableCol, and FPHTMLTableCell objects.