insertLayoutTable Method

Microsoft FrontPage Visual Basic

insertLayoutTable Method

Inserts a cell formatting table into the active document at the insertion point.

expression.insertLayoutTable(iWidth, iHeight)

expression    Required. An expression that returns an FPLayoutTablesAndCells collection.

iWidth    Required Integer. Specifies the width of the table.

iHeight    Required Integer. Specifies the height of the table.

Example

The following example inserts a cell formatting table into the active document at the insertion point.

    ActiveDocument.layoutTablesAndCells _
    .insertLayoutTable 100, 100