SparklineGroups.Add Method
Creates a new sparkline group and returns a SparklineGroup object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Type As XlSparkType, _
SourceData As String _
) As SparklineGroup
'Usage
Dim instance As SparklineGroups
Dim Type As XlSparkType
Dim SourceData As String
Dim returnValue As SparklineGroup
returnValue = instance.Add(Type, SourceData)
SparklineGroup Add(
XlSparkType Type,
string SourceData
)
Parameters
Type
Type: Microsoft.Office.Interop.Excel.XlSparkTypeThe type of sparkline.
SourceData
Type: System.StringRepresents the range to use to create the sparkline.
Return Value
Type: Microsoft.Office.Interop.Excel.SparklineGroup
Returns SparklineGroup.