I've had a rethink and believe the best way to do this , is as below.
You may have to Replace your shapes, because I found that although you may delete the macro for a certain shape, you still get problems accessing the shape properly, anyway you will see !!!
The code below is for 3 groups, you can add to it or remove groups as you wish
Assuming you have new shapes on your sheet.
Group the shapes into 3 sets ( Ctrl Select etc)
My groupd where of 4 shapes each, You will nead to code where necessary for your extra shapes
Click on the first shape in each group to assign a macro.
The macro wll be appears for the particular "Group" name.
Add the Application control bit as shown in this these example code
NB You will only need one macro per group.
Now add a new Basic Module "AllShps" as shown below.
As you will see each group in the module has a individual select case to assign a number to each shape.
Change these Shape names and Numbers to suit.
NB:- You will also need to change the shape names in this code to suit all you specific shape names.
The groups I worked with where "Group29,30 and 31" as you will see from the code below.
You will obviously need to change these to.
I hope you can get this working, it eventually worked very well for me.
Regards Mick
Bookmarks