Aligns the shapes in the specified range of shapes.
expression Required. An expression that returns one of the objects in the Applies To list.
|MsoAlignCmd can be one of these MsoAlignCmd constants.|
RelativeTo Required Long. True to align shapes relative to the edge of the document. False to align shapes relative to one another.
This example aligns the left edges of all the shapes in the selection of shapes in the active document with the left edge of the leftmost shape in the range.
Set myShapeRange = Selection.ShapeRange myShapeRange.Align msoAlignLefts, False
Applies to | ShapeRange Collection Object