Share via


SparklineGroup.SourceData Property

Gets or sets the range that contains the source data for the sparkline group.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property SourceData As String
    Get
    Set
'Usage
Dim instance As SparklineGroup
Dim value As String

value = instance.SourceData

instance.SourceData = value
string SourceData { get; set; }

Property Value

Type: System.String
The range that contains the source data for the sparkline group.

Remarks

Read/write.

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.

See Also

Reference

SparklineGroup Interface

SparklineGroup Members

Microsoft.Office.Interop.Excel Namespace