M
Mona-ABE
I need to select multiple and specific shapes on a drawing canvas after they
have been drawn automatically with programming (using vba).
I have all the objects below defined in my code:
Dim myDoc As Document
Set myDoc = Application.ActiveDocument
Dim myCanvas As Shape
Set myCanvas = myDoc.Shapes(strCanvas) 'this is a variable supplied by
the
'argument in the procedure call
Dim shpCanvasShapes As CanvasShapes
Set shpCanvasShapes = myCanvas.CanvasItems
Dim myShape As Shape
Set myShape = shpCanvasShapes.AddTextbox (or AddAnyOtherShape...........)
After I've done this several times, I need to go back and "group" 5 shapes
that have been drawn on the canvas programmatically. Please point me in the
right direction to do this in Microsoft Word 2003.
have been drawn automatically with programming (using vba).
I have all the objects below defined in my code:
Dim myDoc As Document
Set myDoc = Application.ActiveDocument
Dim myCanvas As Shape
Set myCanvas = myDoc.Shapes(strCanvas) 'this is a variable supplied by
the
'argument in the procedure call
Dim shpCanvasShapes As CanvasShapes
Set shpCanvasShapes = myCanvas.CanvasItems
Dim myShape As Shape
Set myShape = shpCanvasShapes.AddTextbox (or AddAnyOtherShape...........)
After I've done this several times, I need to go back and "group" 5 shapes
that have been drawn on the canvas programmatically. Please point me in the
right direction to do this in Microsoft Word 2003.