FPHTMLTableSection Object


Represents the THEAD, TFOOT, and TBODY elements inside of a TABLE element in an HTML document. See also the IHTMLTableSection object.
Using the FPHTMLTableSection object
Use the tHead property of the FPHTMLTable object to return an FPHTMLTableSection object that represents the THEAD element for a table. The following example accesses the THEAD element for the first table in the active document.
Dim objTable As FPHTMLTable
Dim objTHead As FPHTMLTableSection
Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objTHead = objTable.tHead
Use the createTHead method of the FPHTMLTable object to add a THEAD element. Use the deleteTHead method of the FPHTMLTable object to remove a THEAD element.
Use the tFoot property of the FPHTMLTable object to return an FPHTMLTableSection object that represents the TFOOT element for a table. The following example accesses the TFOOT element for the first table in the active document.
Dim objTable As FPHTMLTable
Dim objTFoot As FPHTMLTableSection
Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objTFoot = objTable.tFoot
Use the createTFoot method of the FPHTMLTable object to add a TFOOT element. Use the deleteTFoot method of the FPHTMLTable object to remove a TFOOT element.