Table of contents
Collapse the table of content
Expand the table of content

ShapeRange.Align Method (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

The Align method is not implemented in Project.


expression. Align(AlignCmd,RelativeTo)

expression A variable that represents a ShapeRange object.

Return value



In general for applications that implement Office Art, the Align method aligns the shapes contained in the shape range. Project does not support automatic distribution or alignment of shapes in a report.

If you try to use the Align method, such as sRange1.Align msoAlignMiddles, msoFalse, you get run-time error &;H80070057, "The specified value is out of range."

See also

Other resources

ShapeRange Object

© 2018 Microsoft