deleteTHead Method

Microsoft FrontPage Visual Basic

deleteTHead Method

Removes a THEAD element from a TABLE element.

expression.deleteTHead

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

Remarks

Use the createTHead method to add a THEAD element to a table.

Example

The following example removes the THEAD element, if one exists, in the first table in the active document.

    Dim objTable As FPHTMLTable

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