ShapeRange.MergeShapes (PowerPoint)

Combines all of the shapes in the range to create a single new shape.

Syntax : expression.MergeShapes (MergeCmd, PrimaryShape)

ActiveWindow.RangeFromPoint.Ungroup.MergeShapes MergeCmd:=msoMergeUnion

Arguments

The following argument is required

MergeCmd (Office.MsoMergeCmd) - The merge operation to perform on the shape range.

The following argument is optional

PrimaryShape (Shape) - The shape that the resulting shape inherits its formatting from.