Many of us write a macro to be used temporarily when creating a worksheet in Excel. Later, we delete the macro using the Tools-->Macro menu item (Alt+F8), but every time we open the file, a pop-up appears asking if we want to enable or disable macros. The following is a step-by-step procedure to COMPLETELY remove a macro and therefore not get the annoying pop-up message.
To "cleanly" remove the macro: 1) Select Visual Basic Editor (Alt+F11) from the Tools-->Macro menu. A new window appears. You will see several condensed menu items (in bold print) and probably only one (1) item that is expanded. It should be labeled "VBAProject (yourfilename.xls)." Within that item will be two folders: Microsoft Excel Objects--containing the number of sheets in the workbook and "ThisWorkbook," and Modules. 2) Delete/Remove the modules folder. You may have to delete all the modules below the folder and the folder will then dissappear. 3) Exit VBA. 4) Save your Excel workbook.
You will no longer get the intro pop-up message to enable or disable macros when you open this file.
Cities are ceaseless engines of engineering activity. Itâ€™s likely that while you were on your way to work, you encountered a number of infrastructure development projects under construction. Download Now
When was the last time you drove down the highway without seeing a commercial truck hauling goods?The ubiquity of these machines underscores the important roll they play in modern commerce. Download Now