Please update this macro

Sub CenterObjects()
'center_objects1
Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
OrigSelection(2).AlignToShape cdrAlignHCenter + cdrAlignVCenter, OrigSelection(1), cdrTextAlignBoundingBox
End Sub

Only two objects are accepting to make it center... if i select more... then this macro not working.

please update