To Delete a Macro (VBA/ActiveX)

After a VBA project is loaded, you can delete a macro in the project.

  1. On the ribbon, click Manage tab Applications panel Run VBA Macro.
  2. In the Macros dialog box, Macros In drop-down list, select the project file you want to work with.
  3. In the Macros list, select a macro and click Delete. Click Yes to delete the macro or No to keep the macro.

You can also work with macros in a loaded project file using the VBARUN command.