Hi,
In VBA, you can select shapes and control them using
Selection.ShapeRange. There is no equivalent in C#.
See
http://msdn.microsoft.com/library/de...HV05205006.asp
In C#, the Selection(range) object does not have a ShapeRange property.
Does anyone know how to obtain a collection of the currently selected
shapes?
I am trying to simulate this VBA code.
Set aShape = srcSheet.DrawingObjects.ShapeRange.Group
x = aShape.Left
y = aShape.Top
aShape.Copy
dstSheet.Paste
Selection.Left = x
Selection.Top = y
Selection.ShapeRange.Ungroup
aShape.Ungroup