0

我将几个形状分组为一个组并为该组命名。

ShapesList("Shape 1", "Shape 2", "Shape 3")

set grp = ActivePresentation.Slides(SlidesName).Shapes.Range(ShapesList).Group
grp.Name = "GroupA"

那我可以得到 grp 吗?

set grp = ActivePresentation.Slides(SlidesName).Shapes.Range("GroupA") 'any method to do this?
4

1 回答 1

2

你不需要.Range。尝试这个

Dim grp As Shape

Set grp = ActivePresentation.Slides(SlidesName).Shapes("GroupA")
于 2013-10-29T17:41:48.103 回答