In a previous post - Getting started with using VBA macros (What do you do with a .GMS file?) - we went through the exercise of installing a .GMS file, and saw that we could access subs from that macro using the Macro Manager docker.

For some macros, that might be satisfactory, but it's not optimal for something that one wishes to access frequently and/or easily. The solution can be found in workspace customization.

There are many Commands - found in Options>Workspace>Customization>Commands - that can be used with CorelDRAW's workspace customization.

In general, a Command:

  • Can be used on Toolbars.
  • Can be used on Menus.
  • Can have Shortcut Keys assigned to it

The VBA macro subs seen in the Macro Manager are also available as Commands, and can be used in the same ways.

In this video, we:

  1. Create and name a new Toobar (Options>Workspace>Customization>Command Bars).
  2. Locate a specific VBA macro sub as a Command (Options>Workspace>Customization>Commands; select the Macros category).
  3. Drag that Command to add it to the new Toolbar.
  4. Specify a Tooltip for the Command.
  5. Specify a Caption for the Command.
  6. Specify an icon for the Command.
  7. Assign a keyboard shortcut for the Command (using the "A" shortcut that is assigned by default to the Spiral tool).