ShapeRange.MergeShapes method (PowerPoint)

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

Syntax

expression. MergeShapes(MergeCmd, PrimaryShape)

expression A variable that represents a ShapeRange object.

Parameters

Name Required/Optional Data type Description
MergeCmd Required MsoMergeCmd The merge operation to perform on the shape range.
PrimaryShape Optional Shape The shape that the resulting shape inherits its formatting from.
MergeCmd Required <unknown
PrimaryShape Optional SHAPE

Return value

VOID

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.