Howto uniquely identify a shape in VBA code
I am writing a macro to scale all the objects in a drawing by the relative size of one shape. This shape is on layer 2 and is nudged to size over a bitmap on layer 1. This is for tracing bitmaps and referencing them to real-world sizes. An example is a small flat item photographed over a .250 x .250 grid. I would like to give the scaling reference shape (a library synbol) an identity that can be read as a property in VBA so I can find it in the drawing, get it's X-axis dimension and then scale all objects by the delta of the current size versus the target size. I have all the code to do that, but I have to manually select the scaling reference shape. How can I name this shape internally and maybe even encode the ultimate target X dimension??