PasteAsNestedTable Method

Pastes a cell or group of cells as a nested table into the selected range.

expression**.PasteAsNestedTable**

expression Required. An expression that returns a Range or Selection object.

Remarks

You can use PasteAsNestedTable only if the Clipboard contains a cell or group of cells and the selected range is a cell or group of cells in the current document.

Example

This example pastes the contents of the Clipboard into the third cell of the first table in the active document.

ActiveDocument.Tables(1).Rows(1).Cells(3).Range _
    .PasteAsNestedTable

Applies to | Range Object | Selection Object

See Also | NestingLevel Property | TopLevelTables Property