How to Remove a Macro in Excel

This wikiHow teaches you how to remove a macro from a Microsoft Excel spreadsheet. You can do this from within the spreadsheet's settings in Excel on both Windows and Mac computers. Open the macro-enabled Excel sheet. Double-click the...
Method 1 of 2:

On Windows

  1. How to Remove a Macro in Excel Picture 1How to Remove a Macro in Excel Picture 1
    Open the macro-enabled Excel sheet. Double-click the Excel file which contains the macro you want to delete. This will open the file in Excel.
  2. How to Remove a Macro in Excel Picture 2How to Remove a Macro in Excel Picture 2
    Click Enable Content. It's in the yellow bar at the top of the Excel window. This will enable the macro(s) that are embedded in the file.
    1. If you don't enable the macro(s), you won't be able to delete your macro.
  3. How to Remove a Macro in Excel Picture 3How to Remove a Macro in Excel Picture 3
    Click the View tab. This tab is in the green ribbon at the top of the Excel window.
  4. How to Remove a Macro in Excel Picture 4How to Remove a Macro in Excel Picture 4
    Click Macros. It's a drop-down icon
    How to Remove a Macro in Excel Picture 5How to Remove a Macro in Excel Picture 5
    in the far-right side of the View tab. A drop-down menu will appear.
  5. How to Remove a Macro in Excel Picture 6How to Remove a Macro in Excel Picture 6
    Click View Macros. This option is in the drop-down menu. Doing so opens the Macros pop-up window.
  6. How to Remove a Macro in Excel Picture 7How to Remove a Macro in Excel Picture 7
    Click the "Macros in" drop-down box. You'll find this at the bottom of the window. Clicking it prompts a drop-down menu.
  7. How to Remove a Macro in Excel Picture 8How to Remove a Macro in Excel Picture 8
    Click All Open Workbooks. It's in the drop-down menu.
  8. How to Remove a Macro in Excel Picture 9How to Remove a Macro in Excel Picture 9
    Select a macro. Click the name of the macro you want to delete.
  9. How to Remove a Macro in Excel Picture 10How to Remove a Macro in Excel Picture 10
    Click Delete. It's on the right side of the window.
  10. How to Remove a Macro in Excel Picture 11How to Remove a Macro in Excel Picture 11
    Click Yes when prompted. Doing so will remove the macro from your workbook.
  11. How to Remove a Macro in Excel Picture 12How to Remove a Macro in Excel Picture 12
    Save your changes. Press Ctrl+S to do so. This will ensure that the macro remains deleted after you close Excel.
Method 2 of 2:

On Mac

  1. How to Remove a Macro in Excel Picture 13How to Remove a Macro in Excel Picture 13
    Open the macro-enabled Excel sheet. Double-click the Excel file which contains the macro you want to delete. This will open the file in Excel.
  2. How to Remove a Macro in Excel Picture 14How to Remove a Macro in Excel Picture 14
    Click Enable Content. It's in the yellow bar at the top of the Excel window. This will enable the macro(s) that are embedded in the file.
    1. If you don't enable the macro(s), you won't be able to delete your macro.
  3. How to Remove a Macro in Excel Picture 15How to Remove a Macro in Excel Picture 15
    Click Tools. It's a menu item at the top of your Mac's screen. Clicking it prompts a drop-down menu.
  4. How to Remove a Macro in Excel Picture 16How to Remove a Macro in Excel Picture 16
    Select Macro. This option is at the bottom of the Tools drop-down menu. Selecting it causes a pop-out menu to the right of the drop-down menu to appear.
  5. How to Remove a Macro in Excel Picture 17How to Remove a Macro in Excel Picture 17
    Click Macros…. It's in the pop-out menu. Doing so opens the "Macros" window.[1]
  6. How to Remove a Macro in Excel Picture 18How to Remove a Macro in Excel Picture 18
    Click the "Macros in" drop-down box. This is near the bottom of the "Macros" window. A drop-down menu will appear.
  7. How to Remove a Macro in Excel Picture 19How to Remove a Macro in Excel Picture 19
    Click All Open Workbooks. It's in the drop-down menu.
  8. How to Remove a Macro in Excel Picture 20How to Remove a Macro in Excel Picture 20
    Select a macro. Click the name of the macro you want to delete.
  9. How to Remove a Macro in Excel Picture 21How to Remove a Macro in Excel Picture 21
    Click . It's below the list of macros.
  10. How to Remove a Macro in Excel Picture 22How to Remove a Macro in Excel Picture 22
    Click Yes when prompted. This will remove the macro.
  11. How to Remove a Macro in Excel Picture 23How to Remove a Macro in Excel Picture 23
    Save your changes. Press Command+S to do so. This will ensure that the macro remains deleted after you close Excel.
3.5 ★ | 2 Vote