ShapeRange.Align Method

Aligns the shapes in the specified range of shapes.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub Align ( _
    AlignCmd As MsoAlignCmd, _
    RelativeTo As MsoTriState _
)
'Usage
Dim instance As ShapeRange
Dim AlignCmd As MsoAlignCmd
Dim RelativeTo As MsoTriState

instance.Align(AlignCmd, RelativeTo)
void Align(
    MsoAlignCmd AlignCmd,
    MsoTriState RelativeTo
)

Parameters

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Excel Namespace