Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.15 KB

Word.ChartGroup.SplitType.md

File metadata and controls

49 lines (32 loc) · 1.15 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ChartGroup.SplitType property (Word)
vbawd10.chm263454760
vbawd10.chm263454760
Word.ChartGroup.SplitType
0bebc2f8-4dd6-8a74-993b-9e16357f38d0
06/08/2017
medium

ChartGroup.SplitType property (Word)

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

The following 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. You must run the example on either a pie-of-pie chart or a bar-of-pie chart.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 With .Chart.ChartGroups(1) 
 .SplitType = xlSplitByValue 
 .SplitValue = 10 
 .VaryByCategories = True 
 End With 
 End If 
End With

See also

ChartGroup Object

[!includeSupport and feedback]