An Easy Way to Eliminate Excel Macros

BY STANLEY ZAROWIN

Q. Is there a way to eliminate all the macros in an Excel workbook without having to delete them individually?
A. The way I’d suggest, while not elegant, is easy and gets the job done without even messing with the macros and the VBA Editor. Here’s what you do:

First, unhide any hidden worksheets and select all in the workbook. A fast way to select all sheets is to click on the first tab and hold down the Shift key as you click on the last one. Then, in the Edit menu, click on Move or Copy Sheet, producing the Move or Copy dialog box. Then, using the To book: drop-down list, choose ( new book ). Make sure the Create a copy check box is not selected and click on OK .

Now, once again, hide any worksheets you had left unhidden and you have now moved the worksheets to a new workbook without any attached macros.

SPONSORED REPORT

How the election may affect taxation of business income

This report summarizes recent proposals to reform the U.S. business income tax system and considers the path to enactment of any such legislation.

VIDEO

How to Excel pivot a general ledger

The general ledger is a vast historical data archive of your company's financial activities, including revenue, expenses, adjustments, and account balances. J. Carlton Collins, CPA, shows how to prepare data for, and mine data with, PivotTables.

QUIZ

Did you follow 2016’s biggest accounting news?

CPAs will remember 2016 as a year of new standards and new faces. How well did you follow the biggest accounting events? The 7 questions in this quiz will help you find out