Disbands the currently selected Group object. It is the equivalent of selecting Ungroup on the Format menu.
Syntax
object.UnGroup
Properties
The UnGroup method syntax has this part:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Remarks
When you disband a Group, any changes you made to the Group that affected a member object are retained by that object. In other words, ungrouping does not return the member objects back to the original state of the objects before you grouped them.
For example, suppose you have a grouped object in your picture that consists of red and black squares. When you change the Group color to black, all the squares turn black. If you ungroup the object after making this change, the squares remain black.