Share via


Deleting a Macro

  1. Choose Macro from the Tools menu.

  2. Select the file containing the macro to delete in the MacroFile box.

    If this file is not in the list, install the file, and then select it in the MacroFile box.

  3. Select the macro to delete in the MacroName box.

  4. Choose Edit.

  5. Delete the SUB block containing the macro's code.

  6. Save the macro file.

You can write a VBScript macro manually by adding the code for the macro to a new or existing macro file. With the macro editor, you can edit an existing macro or add to a macro that you have recorded.

See Also

Macros and Add-ins

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.