This documentation is archived and is not being maintained.

Selection.InsertColumns Method

Inserts columns to the left of the column that contains the selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void InsertColumns()

If the selection isn't in a table, an error occurs.

The number of columns inserted is equal to the number of columns selected. You can also insert columns by using the Add method of the Columns object.

Show: