Compartilhar via


Sparkline.ModifySourceData Method

Modifies the source data for a single sparkline.

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

Syntax

'Declaration
Sub ModifySourceData ( _
    Formula As String _
)
'Usage
Dim instance As Sparkline
Dim Formula As String

instance.ModifySourceData(Formula)
void ModifySourceData(
    string Formula
)

Parameters

  • Formula
    Type: System.String

    The range the contains the source data.

Remarks

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

See Also

Reference

Sparkline Interface

Sparkline Members

Microsoft.Office.Interop.Excel Namespace