Run a Macro
You can run VBA macros created in Reflection and Reflection 2007 (SP1), and most macros created with legacy Reflection and EXTRA! products. You can also run a macro by mapping an action to a control. However, you can only run macros in trusted locations.
Several macro-related actions (such as, Run a Reflection Workspace Macro) are available from the Select Action dialog box. For more information, see Add a Button to Run a Macro.
To run a macro
- On the Session ribbon, from the Macros group, click Run Macro.
- From the Run Macro dialog box, select the macro you want to run.
Note: Legacy macro options are available only if compatibility features are installed. In addition, to run legacy Reflection and EXTRA! macros from external files, you must specify, from the Set Up API and Macro Security dialog box, the type of legacy macro you want to run.
|
|
|
Reflection Workspace Macro
|
Shows macros in the active session document. Select to run macros created in Reflection or 2007 (SP1) documents.
To run a macro in the Common project and other documents, select one of the following options from the Macros in menu:
|
|
Select
|
To show macros in
|
|
<All Standard>
|
All open projects and session documents.
|
|
Common
|
The Common project.
|
|
Project [filename]
|
The active session document only.
|
Legacy Reflection Macro in This File
|
Select to run legacy macros in the active document. These macros include legacy settings files (.rsf, .r2w, or .r4w), and in Reflection, session documents (.rd3x, .rd5x, .rdox) that were previously converted from settings files.
|
Legacy Reflection Macro in Another File
|
Select to specify and run a macro in a SharedMacro file (.rma) or a settings file (.rsf, .r2w, or .r4w).
|
Legacy RB Macro
|
Select to specify and run a Reflection Basic macro (.rbs).
|
RUMBA Macro
|
Select to specify and run a NetManage RUMBA macro file (.rmc).
|
Legacy EXTRA! Macro
|
Select to specify and run an EXTRA! macro file (.ebm).
|
Legacy RCL Script
|
Select to specify and run a legacy RCL script. Available only for use in VT session documents.
|
|