Partager via


Selection.InsertColumnsRight Method (Word)

Inserts columns to the right of the current selection.

Syntax

expression .InsertColumnsRight

expression Required. A variable that represents a Selection object.

Remarks

Microsoft Word inserts as many columns as there are in the current selection.

To use this method, the current selection must be in a table.

Example

This example selects the second column in the first table and inserts a new column to the right of it.

ActiveDocument.Tables(1).Columns(2).Select 
Selection.InsertColumnsRight

See Also

Concepts

Selection Object Members

Selection Object