I have a slide with over 230 rectangles (containing text labels, e.g. Marketing).


In the selection pane the rectangles all have names like 'Rectangle3'


To aid selection, I'm trying to come up with a macro to go through the rectangle text labels, and replace the corresponding selection pane name, e.g. Marketing >> Rectangle3 becomes Marketing >> Marketing


I'm pretty new to VBA in powerpoint and struggling to work this one out


I think I need to copy the 'label' attribute to the 'name' but not sure how to go about it

Any tips appreciated
thanks
Nick