powerpoint c# add-in shape grouping issue
I developing a PowerPoint 2010 add-in using Visual Studio 2010 and am having significant issues with grouping two objects on a slide. I am trying to create the two objects, place them on the slide and group them all in the same function. Adding the objects and placing them on the slide is not an issue. When it comes to the grouping part though.... I have tried: PowerPoint._Application myPPT = Globals.ThisAddIn.Application; PowerPoint.Slide curSlide = myPPT.ActiveWindow.View.Slide; string[] myRangeArray = new string[2]; myRangeArray[0] = "nameOfShape0"; myRangeArray[1] = "nameOfShape1";