Icons detached from SmartArt, work-around?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
185
Hi,

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?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Worf

Well-known Member
Joined
Oct 30, 2011
Messages
4,139
Hi

87IA4iL.png
 

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
185
Thanks for replying. The problem with grouping objects is the need of marking the chart area and every single object within that area in order to group them -.-

Another issue is that the grouping of all objects seem to disappear from time to time, so I need to re-do it every now and then.

Any work around?
 
Last edited:

Worf

Well-known Member
Joined
Oct 30, 2011
Messages
4,139
  • 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.

Code:
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
Next
ws.Shapes.Range(shn).Group
End Sub
 

Forum statistics

Threads
1,136,908
Messages
5,678,511
Members
419,768
Latest member
eguechi09x

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top