StopEditingGroup

The StopEditingGroup method stops the editing of a group, or composite, object when editing was started using the EditGroup method.

Syntax

object.StopEditingGroup

object.StopEditingGroup =StopEditingGroup

Example

This example demonstrates how to initiate editing of a composite object, edit the object, and end the editing of the object.

'Define a group object pointer

Set Group1 = doc.Shapes.Item(1)

 

'Edit group

Group1.EditGroup

 

'Create an ellipse

doc.Shapes.AddEllipse(4.45755,8.3897,5.86248,7.84688)

 

'Stop editing group

doc.Shapes.StopEditingGroup

 

Used by: AutoShapes collection