Range.PasteAsNestedTable method (Word)

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

Syntax

expression. PasteAsNestedTable

expression Required. A variable that represents a Range 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

See also

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.