Full Version: Name Shapes

From: Shaddy [#1]
 23 Jul 2006
To: ALL

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


From: Pedaler (ROYBREWER) [#2]
 24 Jul 2006
To: Shaddy [#1] 25 Jul 2006

Shaddy,

Very nice!
Thanks for sharing with us.

From: Shaddy [#3]
 25 Jul 2006
To: Pedaler (ROYBREWER) [#2] 26 Jul 2006

No problem. The small ones with just a couple functions are easy. My problem is still with that data-importer one. The more I try to make it general and user friendly, the more complicated it gets. My user form keeps getting more buttons and checkboxes. It's probably going to be more complicated than Print Merge by the time I get finished making it "user Friendly" ;-) 

Thanks for looking, and replying Roy.

Shaddy


Back to thread list | Login

© 2024 Project Beehive Forum