SparklineGroups.Group Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Groups the selected sparklines.

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

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

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