DeleteRows Method

       

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

Syntax

object.DeleteRows (row, count)

The DeleteRows method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
row Integer. Identifies a specific data row. Rows are numbered from top to bottom beginning with 1.
count Integer. Specifies the number of rows you want to delete.