Chart.DepthPercent property (Excel)

Returns or sets the depth of a 3D chart as a percentage of the chart width (between 20 and 2000 percent). Read/write Long.



expression A variable that represents a Chart object.


This example sets the depth of Chart1 to be 50 percent of its width. The example should be run on a 3D chart (the DepthPercent property fails on 2D charts).

Charts("Chart1").DepthPercent = 50

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.