SparklineGroups.Group method (Excel)

Groups the selected sparklines.

Syntax

expression.Group (Location)

expression A variable that represents a SparklineGroups object.

Parameters

Name Required/Optional Data type Description
Location Required Range The location of the first cell in the group.

Return value

Nothing

Example

This example selects the range A1:A4 and groups the sparklines in that range.

Range("A1:A4").Select 
Selection.SparklineGroups.Group Location:=Range("A1")

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.