Show Contents / Index / Search

Legacy Reflection Macros

Reflection supports the following macro file formats:

  • Settings files (.rsf,.r2w,.r4w)
  • SharedMacros (.rma)
  • Reflection Basic scripts (.rbs)
  • Reflection Command Line scripts (.rcl)

You can open a settings file in the workspace, or run legacy macros as an external file. You can only run RCL scripts when a VT session document is active in the workspace.

To run a legacy Reflection macro

  1. (Recommended) If your legacy macro was created in Reflection 10.x or earlier, save it in Reflection 14.x.
  2. Open the Reflection Workspace Settings dialog box as follows:

    If you are using this "look and feel"

    Do this...

    The Reflection button

    Microsoft Office 2007

    On the Reflection button The Reflection button , choose Reflection Workspace Settings.

    The Reflection button

    Microsoft Office 2010

    On the File menu, choose Reflection Workspace Settings.

    The Reflection button

    Reflection Browser

    On the Reflection menu, choose Settings and then Reflection Workspace Settings.

  3. Under Trust Center, click Set Up API and Macro Security.
  4. From the Legacy API preference menu, select Reflection, and then click OK.
  5. On the Session ribbon, click the Run Macro button.
  6. From the Run Macro dialog box, specify the legacy macro that you want to run.

Note: If the macro contains unsupported objects, its functionality may be limited or it may not run. For a list of unsupported objects and methods, see the Reflection VBA Guide (Help > VBA Guide). If your legacy macros use early binding, and if they return compiling errors when you run them, change their Reflection namespace references from Reflection to ReflectionCOM.

Related Topics

Run a Macro