答案 0 :(得分:2)
要调整内部圈子,您需要先生成甜甜圈
.AddShape(MsoAutoShapeType, Left, Top, Width, Height)
其中Width
和Height
定义外圈。然后用
.DrawingObject.ShapeRange.Adjustments.Item(1) = 0.45
所以我们有类似的东西
Dim myShape As Shape
Set myShape = Worksheets("MySheetName").Shapes.AddShape(msoShapeDonut, 10, 10, 50, 50)
myShape.DrawingObject.ShapeRange.Adjustments.Item(1) = 0.45
它看起来像是:
有关参考资料,请参阅: