DeleteColumns Method

See Also         Example         Applies To

Deletes the specified number of columns from the specified range.

Syntax

expression.DeleteColumns(NumberOfColumns)

expression   An expression that returns a Range object.

NumberOfColumns   Optional Long. Specifies the number of columns to be deleted. If you do not specify this argument, all columns in the specified range are deleted.