Share via


Renaming VBScript Macros

Home Page (Macros)OverviewHow Do I TopicsFAQReference

If necessary, you can rename a macro in its code.

To rename a macro

  1. On the Tools menu, click Macro.

  2. In the Macro File box, select the file containing the macro you want to rename. If this file is not in the list, first install the file, then select it in the Macro File box.

  3. In the MacroName box, select the macro you want to rename.

  4. Click the Edit button.

  5. Go to the Sub block containing the macro's code.

  6. On the line containing the macro's name, change the name of the macro.