Sparkline.ModifySourceData Method (Excel)

Modifies the source data for a single sparkline.

Version Information

Version Added: Excel 2010

Syntax

expression .ModifySourceData(Formula)

expression A variable that represents a Sparkline object.

Parameters

Name

Required/Optional

Data Type

Description

Formula

Required

String

The range that contains the source data.

Return Value

Nothing

Remarks

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

See Also

Concepts

Sparkline Object

Sparkline Object Members