ConvertToGroup Method [Visio 2003 SDK Documentation]
Converts a selection or an object from another application (a linked or embedded object) to a group.
object**.ConvertToGroup**
object Required. An expression that returns the Shape or Selection object to convert.
Version added
2.0
Remarks
If the object to convert is a metafile, it will be converted into basic shapes.
Applies to | Selection object | Shape object
See Also | Ungroup method