EditGroup Method

The EditGroup method initiates editing of a group, or composite, object. Use the StopEditingGroup method to stop editing the object.

Syntax

object.EditGroup

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: AutoComposite object