createTHead Method

Microsoft FrontPage Visual Basic

createTHead Method

Creates a THEAD element inside of a TABLE element.

expression.createTHead

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the deleteTHead method to remove a THEAD element from a table.

Example

The following example creates a THEAD element in 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.createTHead