INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Engineering spreadsheets

Removing Enable/Disable Macros Pop-up in Excel by swertel
Posted: 20 Apr 01

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.

Back to -Engineering spreadsheets FAQ Index
Back to -Engineering spreadsheets Forum

My Archive


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close