ShapeRange.Align (PowerPoint)

Aligns the shapes in the specified range of shapes.

Syntax : expression.Align (AlignCmd, RelativeTo)

ActiveWindow.RangeFromPoint.Ungroup.Align AlignCmd:=msoAlignLefts, RelativeTo:=msoTrue

Arguments

The following arguments are required:

AlignCmd (Office.MsoAlignCmd) - Specifies the way the shapes in the specified shape range are to be aligned.

RelativeTo (Office.MsoTriState) - Determines whether shapes are aligned relative to the edge of the slide.