D
dcuthill
I add a shape to a document using the following code. How do I identify this
newly added shape in order to refer to it later? Can I name it - if so how?
Or can I get it's index and later refer to it by an index number or is the
index a dynamic number that change as other shapes are added to the document.
Set oShape = Rng.InlineShapes.AddOLEObject _
(ClassType:="Excel.Chart.8", _
FileName:="", _
LinkToFile:=False, _
DisplayAsIcon:=False)
newly added shape in order to refer to it later? Can I name it - if so how?
Or can I get it's index and later refer to it by an index number or is the
index a dynamic number that change as other shapes are added to the document.
Set oShape = Rng.InlineShapes.AddOLEObject _
(ClassType:="Excel.Chart.8", _
FileName:="", _
LinkToFile:=False, _
DisplayAsIcon:=False)