Editing a Macro

This task explains how to edit a macro.

  1. Select the Tools > Macro > Macros... command to display the Macros dialog box:



    In our example, we already created "Macro1.vbs" using VB Script, which is preselected and listed in the available macros list.

    Use the "Current macro library or document" field or the "Macro libraries" button if you have other macros available.

  2. Click the Edit... button to edit the macro.

    If the macro is a CATScript document or a VB Script file, the default editor is displayed like this:



    You can change the editor for CATScript and VB Script macros by using the Macros tab.

    If the macro is a .catvba project module, the VBA editor is displayed like this:



  3. Modify the macro instructions as you want, and save the macro, or cancel the modifications.