Extending product function with VBA : Running a macro
  
Running a macro
A Microsoft VBA macro may be run from various events, depending on how it has been constructed. For example, it might run automatically after certain System Architect events are fired; be invoked by a third-party tool; or you can run it by clicking on a menu choice.
Note Before running a macro, it must first be loaded in System Architect. For instructions on how to do so, see Loading a macro project.
To run a macro directly from the Macros dialog
On the Tools menu, click Macros > Run Macro.
To add a macro to a toolbar
1 Right click the menu bar or any toolbar, and then click Customize.
2 Click the Commands tab, and then the Macros option.
3 Drag the required macro onto a toolbar.
See also
Macros provided with System Architect
Run a macro on starting System Architect
Introduction to extending SA with VBA