Muokkaa

Jaa


ChartGroup.SplitValue property (Excel)

Returns or sets the threshold value separating the two sections of either a Pie of Pie chart or a Bar of Pie chart. Read/write Variant.

Syntax

expression.SplitValue

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

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.