Sub ToFitShapeRange() Dim s As Shape Dim sr As New ShapeRange Set s = ActiveLayer.CreateEllipse2(5, 5, 2) sr.Add s 'Creates an ellipse and includes it in the defined range Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2) sr.Add s 'Creates a rectangle and includes it in the defined range ActiveWindow.ActiveView.ToFitShapeRange srEnd Sub