deleteCaption Method
Removes a CAPTION element in a TABLE element.
expression.deleteCaption
*expression * Required. An expression that returns one of the objects in the Applies To list.
Remarks
Use the createCaption method to add a caption to a TABLE element.
Example
The following example deletes the caption in the first table in the active document.
Dim objTable As FPHTMLTable
Set objTable = ActiveDocument.all.tags("table").Item(0)
objTable.deleteCaption
Applies to | FPHTMLTable Object | IHTMLTable Object