Hi there
I was wondering if anyone can help me out with naming an object in a macro.
Basically, the macro will create a couple of shapes which I want to be able to group together. The problem is that depending on how many times the macro is run, the name of each object will change (eg. "Rectangle 5") Therefore, when I try to group the shapes, it will not work because I can't refer the each shape as I don't know what the name of each shape is going to be.
If anyone knows a way around this it would be greatly appreciated.
I was wondering if anyone can help me out with naming an object in a macro.
Basically, the macro will create a couple of shapes which I want to be able to group together. The problem is that depending on how many times the macro is run, the name of each object will change (eg. "Rectangle 5") Therefore, when I try to group the shapes, it will not work because I can't refer the each shape as I don't know what the name of each shape is going to be.
If anyone knows a way around this it would be greatly appreciated.