Share via


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)

Syntax

'Declaration
Sub InsertColumns
'Usage
Dim instance As Selection

instance.InsertColumns()
void InsertColumns()

Remarks

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.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace