SparklineGroup.SourceData property (Excel)

Returns or sets the range that contains the source data for the sparkline group. Read/write.

Syntax

expression.SourceData

expression A variable that represents a SparklineGroup object.

Return value

String

Remarks

The number of rows or columns in the source data range must equal the number of cells in the Location property range.

The data source range for a single sparkline in the sparkline group must be continuous.

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.