Point.PieSliceLocation method (Excel)

Returns the vertical or horizontal position of a point on a chart item, in points, from the top or left edge of the object to the top or left edge of the chart area.

Syntax

expression.PieSliceLocation (loc, Index)

expression A variable that represents a Point object.

Parameters

Name Required/Optional Data type Description
loc Required XlPieSliceLocation Specifies a horizontal or vertical coordinate.
Index Optional XlPieSliceIndex Specifies which pie slice position coordinate to return. The default value is xlOuterCenterPoint.

Return value

Double

Remarks

This property only applies to pie and doughnut chart types.

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.