Skip to main content

Quickly batch remove or delete all macros from workbooks in Excel

Author Siluvia Last modified

Kutools for Excel

Boosts Excel With 300+
Powerful Features

Usually, you can manually remove all Macros one by one in a workbook with the Macros command. For removing all Macros from multiple workbooks, this method seems wasting time. If you have the Batch Remove All Macros utility of Kutools for Excel, you can easily remove all macros from multiple workbooks at once in Excel.

 


Click Kutools > Delete > Batch Remove All Macros. See screenshot:

shot-batch-remove-all-macros-1


Batch remove all macros from workbooks in Excel

1. Click Kutools > Delete > Batch Remove All Macros to enable this utility. See screenshot:

shot-batch-remove-all-macros-1

Note: If you haven't check the Trust access to the VBA project object model in this workbook, a warning message will pop out to remind you check it first, please click OK to go to the Trust Center dialog box, and check the Trust access to the VBA project object model, then click OK to close this dialog, see screenshot:

shot batch remove all macros 10 10

2. Then in the Remove All Macros dialog box:

1). All opened workbooks are listed in the dialog box, if there are workbooks you don’t want to remove macros from, please click the button to remove them.

2). Click the Add button, and click File or Folder option to add other workbooks.

Notes:

A. Click File option, you can select and add single or multiple workbooks into the dialog box;

B. Click Folder option, all workbooks in selected folder will be added into the dialog box.

shot-batch-remove-all-macros-3

3. In the Open dialog box, select the workbooks you want to remove all macros, or select folder with all workbooks you want to remove macros from, and then click the Open button.

shot-batch-remove-all-macros-4

4. When it returns to the Remove All Macros dialog box, you can see all selected workbooks are listed inside. Then click the Ok button.

shot-batch-remove-all-macros-5

5. And another Remove All Macros dialog box pops up to tell you how many macros have been removed from workbooks, click the OK button.

shot-batch-remove-all-macros-6

Now all macros were removed from selected workbooks, and a new workbook report will be created automatically to indicate the results of the operation. See screenshot:

shot-batch-remove-all-macros-7

Demo: Quickly batch remove or delete all macros from workbooks in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon