PDA

View Full Version : Solved: ShapePie - defining the sector size?



JariV
12-18-2011, 03:45 AM
Hello,

how do I define size of the circle sector or the slice in the PowerPoint 2007 VBA code when using msoShapePie?

Until now I have been able use the parameters Top/Left/Width/Height.
I tried Adjustments, but could not make it work (I am new in this, so it could be trivial).

Thank you in advance,
BR -Jari

John Wilson
12-18-2011, 06:12 AM
You need to use .Adjustments(1) and .Adjustments(2). These controll the two yellow handles . Range is +-360
So .Adjustments(1)=0 starts at three o clock position
.Adjustments(2)=45 makes a 45 deg sector.

JariV
12-18-2011, 09:43 AM
John, thanks for the quick reply !

Tried it and it works.

-JariV