To make a Visio chemical process Process Flow Diagram, I took an existing diagram and recreated it in Visio. I did this by putting an image of the diagram in Visio then overlaying it with a white rectangle with some transparency, so I had a greyish background of the original diagram image.
I recreated the diagram in Visio but unfortunately while doing this I seemed to have copied the diagram and now it is doubled behind the white rectangle.
There are a few hundred shapes in the diagram, how can i with VBA:
- Do a multiselect of only the visible shapes
- Delete all shapes behind the white rectangle
I looked for a Z order indicated for shapes in Visio VBA but I cannot find any way to solve this programmatically.
Multi-selecting then copying the visible shapes is just a nightmare many are small lines, a regular multi-select also selects the invisible shapes behind the rectangle unfortunately.
Quite the Visio VBA puzzle, anyone know any solution much appreciated!
