Sub Test() Dim x As Double, y As Double Dim sr As ShapeRange Set sr = ActiveLayer.Shapes.All If sr.Count > 0 Then ActiveDocument.ReferencePoint = cdrCenter sr.GetPosition x, y sr.SetSize x, 1 End IfEnd Sub