Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.04 KB

Excel.ChartGroup.SplitType.md

File metadata and controls

40 lines (26 loc) · 1.04 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ChartGroup.SplitType property (Excel)
vbaxl10.chm568097
vbaxl10.chm568097
Excel.ChartGroup.SplitType
c65ca7a4-59b1-6b15-116a-f76007fbd4be
04/20/2019
medium

ChartGroup.SplitType property (Excel)

Returns or sets the way the two sections of either a Pie of Pie chart or a Bar of Pie chart are split. Read/write XlChartSplitType.

Syntax

expression.SplitType

expression A variable that represents a ChartGroup object.

Example

This example must be run on either a Pie of Pie chart or a Bar of Pie chart. The example splits the two sections of the chart by value, combining all values under 10 in the primary pie and displaying them in the secondary section.

With Worksheets(1).ChartObjects(1).Chart.ChartGroups(1) 
 .SplitType = xlSplitByValue 
 .SplitValue = 10 
 .VaryByCategories = True 
End With

[!includeSupport and feedback]