PDA

View Full Version : CorelDraw: Use VBA to change macro assigned to custom button



DChinell
11-17-2010, 02:25 PM
In CorelDRAW X4 VBA, is there any way to change the macro assigned to a custom toolbar button? I had to rename my macros, and I'm trying to avoid having to recreate all the custom buttons in the GUI.

In VBA for Word, it would be the OnAction property. But this doesn't seem to exist in VBA for CorelDRAW. The Caption property lists the original macro assigned to the button, but changing this doesn't seem to have any effect.

Bear