F
Fabian
I'm trying to determine the name of the currently selected shape
within a drawing canvas, but all I get is the name of the canvas
itself.
MsgBox Selection.ShapeRange.Item(1).Name
MsgBox Selection.Range.ShapeRange(1).Name
This all returns the name of the drawing canvas, although only one of
the shapes within the canvas is selected.
MsgBox Selection.ShapeRange(1).CanvasItems(1).Name
Returns the name of the first added shape in the canvas and that's not
necessarily the currently selected shape. Does anyone have any
suggestions?
Thanx, Fabian.
within a drawing canvas, but all I get is the name of the canvas
itself.
MsgBox Selection.ShapeRange.Item(1).Name
MsgBox Selection.Range.ShapeRange(1).Name
This all returns the name of the drawing canvas, although only one of
the shapes within the canvas is selected.
MsgBox Selection.ShapeRange(1).CanvasItems(1).Name
Returns the name of the first added shape in the canvas and that's not
necessarily the currently selected shape. Does anyone have any
suggestions?
Thanx, Fabian.