Creating macros : Writing macros |
You can manually code a macro by writing it in the Macro Editor or the VSTA Editor. (Alternatively, in CorelDRAW, you can create a VBA macro by recording it. For information, ) Macros that are developed in the Macro Editor or the VSTA Editor can take advantage of full programming control, including conditional execution, looping, and branching. In effect, you can write macros that are programs in their own right.
• |
In this documentation, all macro code is referred to as a macro. In some contexts, however, a macro is
just those parts of the code that can be run by CorelDRAW
|
To write a macro, you must first add it to a code module for the desired macro project. You can edit, rename, or even delete macros.
For details on writing macros, see the following procedures:
• |
• |
• |
Copyright 2013 Corel Corporation. All rights reserved.