Operation Manual

Using macros to automate tasks | 733
You can also
Copy a GMS-based macro project Right-click the project in the list, click Copy to, and then choose the
target location for the copied project.
NOTE: You cannot copy a document-based macro project. Such
projects are stored within a document and cannot be managed
separately from that document.
Display or hide all modules in the list
Click the Simple mode button .
Add a module to a VBA macro project Do one of the following:
Click the project in the list, click New, and then click New
module.
Right-click the project in the list, and then click New module.
Edit a module in a VBA macro project Do one of the following:
Click the module in the list, and then click the Edit button .
Right-click the module in the list, and then click Edit.
Rename a module in a macro project Right-click the module in the list, and then click Rename.
Delete a module from a macro project Do one of the following:
Click the module in the list, and then click the Delete button
.
Right-click the module in the list, and then click Delete.
Close (or “unload”) a GMS-based macro project Right-click the macro project in the list, and then click Unload
macro project.
NOTE: You can close a document-based macro project only by
closing the document in which it is stored.
Some macro projects are locked and cannot be modified.
To create a macro
In the Macro Manager docker, do one of the following:
Click the container you want, click New, and then click New macro.
Right-click the desired container module, and then click New macro.
You can also
Edit a macro Do one of the following:
Click the macro in the list, and then click the Edit button .
Right-click the macro in the list, and then click Edit.