Columns property (Excel Graph)

Returns a Range object that represents the columns in the specified range or all the columns on the datasheet. Read-only Range object.

Syntax

expression.Columns

expression Required. An expression that returns a Range object.

Remarks

For information about returning a single member of a collection, see Returning an object from a collection.

Example

This example clears column A of the datasheet.

myChart.Application.DataSheet.Columns(2).ClearContents

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.