findByID Method

Microsoft FrontPage Visual Basic

findByID Method

Returns an FPLayoutRegion object that represents the cell formatting table specified by using the ival parameter.

expression.findByID(ival)

expression    Required. An expression that returns an FPLayoutTablesAndCells collection.

ival    Required Long. Specifies the value of the mscellformattingtableid attribute as it appears in the post-comment tag, for example, <-- MSCellFormattingTableID="ID" -->.

Example

The following example returns the specified layout cell.

    Dim objLayout As FPLayoutRegion

Set objLayout = ActiveDocument.layoutTablesAndCells.findByID(1)