M
MatP
Hi,
Just can't figure how to group shapes of a sheet..
something like:
For i = 1 To ActiveSheet.Shapes.Count
If Left(ActiveSheet.Shapes(i).Name, 6) = "Forme " Then AddtoGroup
Next i
I can do this:
ActiveSheet.Shapes.Range(Array("Shape1", "Shape2")).Select
Selection.ShapeRange.Group.Selec
But the "Array" part in my case is variable and I can't find how to pu
a variable instead of Array("Shape1", "Shape2")).
Thank
Just can't figure how to group shapes of a sheet..
something like:
For i = 1 To ActiveSheet.Shapes.Count
If Left(ActiveSheet.Shapes(i).Name, 6) = "Forme " Then AddtoGroup
Next i
I can do this:
ActiveSheet.Shapes.Range(Array("Shape1", "Shape2")).Select
Selection.ShapeRange.Group.Selec
But the "Array" part in my case is variable and I can't find how to pu
a variable instead of Array("Shape1", "Shape2")).
Thank