I have formed a process using SmartArt and would like to add icons to the chart area, which works fine! But, when copying or marking in order to move or resize, icons are not following. Is there any work arounds on this issue?
If all objects involved are shapes, you can use the code below.
It assumes unique shape names. If there are duplicated names, we can refer by index.
Public Sub GShapes()
Dim sh As Shape, shn(), ns%, ws As Worksheet
Set ws = ActiveSheet
For Each sh In ws.Shapes
ReDim Preserve shn(ns)
shn(ns) = sh.Name
ns = ns + 1