Edit

Share via


Selection.InsertColumns Method

Definition

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

public:
 void InsertColumns();
public void InsertColumns ();
abstract member InsertColumns : unit -> unit
Public Sub 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(Object) method of the Columns object.

Applies to