DeleteColumns Method

       

Deletes columns of data and their associated labels from the data grid associated with a chart.

Syntax

object.DeleteColumns (column, count)

The DeleteColumns method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
column Integer. Identifies a specific data column. Columns are numbered from left to right beginning with 1.
count Integer. Specifies the number of columns you want to delete.