Export (0) Print
Expand All
Expand Minimize

Selection.InsertColumnsRight Method

Office 2007
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.

Visual Basic for Applications
ActiveDocument.Tables(1).Columns(2).Select
Selection.InsertColumnsRight



Community Additions

ADD
Show:
© 2014 Microsoft