I've found that when using VBA using named shapes can make some things easier (a lot of time it won't matter though). But I made a macro to do a couple things.
1) select some shapes that you want to name, then run the macro, type in a name and it will rename them for you.
2) run the macro after some shapes are named, the name will appear in a dropdown box, choose a name then click a button and those names will be selected.
If you make a lot of changes to things like fill color, line width... this will streamline things. Especially if your shapes are little and spread out, possibly under other shapes, all making it hard to select them. You only have to make all the selections once (to name them).
As usual, the GMS is saved in
C:\Program Files\Corel\CorelDRAW Graphics Suite 13\Draw\GMS
or whever your GMS's are. The file isn't protected, so feel free to browse the code, but it's not really that pretty. But if you have Q's please bring it up here and I'll do my best to explain.
This was tested in 12 and X3.
Shaddy |