PasteAsNestedTable Method
Collapse the table of content
Expand the table of content

Range.PasteAsNestedTable Method (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .PasteAsNestedTable

expression Required. A variable that represents a Range object.

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.

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 _ 


Other resources

© 2016 Microsoft