SparklineGroups.Add(XlSparkType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new sparkline group and returns a SparklineGroup object.
public:
Microsoft::Office::Interop::Excel::SparklineGroup ^ Add(Microsoft::Office::Interop::Excel::XlSparkType Type, System::String ^ SourceData);
public Microsoft.Office.Interop.Excel.SparklineGroup Add (Microsoft.Office.Interop.Excel.XlSparkType Type, string SourceData);
Public Function Add (Type As XlSparkType, SourceData As String) As SparklineGroup
Parameters
- Type
- XlSparkType
The type of sparkline.
- SourceData
- String
Represents the range to use to create the sparkline.
Returns
Returns SparklineGroup.