Add Method (Columns Collection Object)

See Also         Example         Applies To

Adds a new column to an existing table.

Syntax

expression.Add(BeforeColumn)

expression   Required. An expression that returns a Column object.

BeforeColumn   Optional Long. The index number specifying the table column before which the new column will be inserted. This argument must be an integer value from 1 to the number of columns in the table. If this parameter is omitted, then the new column is added as the last column in the table.