+ Reply to Thread
Results 1 to 5 of 5

Macro deletion

  1. #1
    Forum Contributor
    Join Date
    01-01-2006
    Posts
    122

    Macro deletion

    How do i get rid of the " enable macro or disable macro " box that comes up everytime I open my work sheet. I have deleted them and yet it still comes up. I only made a couple of them while I was getting some help so I dont have many of them at all.

    can I "delete ALL macros in all sheets" ? I dont need them and the warning box is really irritating me.


    Thanks again.
    "I wish I knew half of what you guys have forgotten"

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    If you just deleted all of the code out of the modules, it will still think there are macros in the workbook. You need to remove all modules (not sheets or ThisWorkbook, just the modules and/or userforms, if applicable). To do this, right-click on the module, and select remove.

  3. #3
    Forum Contributor
    Join Date
    01-01-2006
    Posts
    122
    Quote Originally Posted by jasoncw
    If you just deleted all of the code out of the modules, it will still think there are macros in the workbook. You need to remove all modules (not sheets or ThisWorkbook, just the modules and/or userforms, if applicable). To do this, right-click on the module, and select remove.

    where is the module to right click on?......remember speak slow to me lol

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Hit ALT + F11 to get into the VBE. On the left side, you should see your project (should show the file name). If you do not see the project, then hit CTRL + R to show the project explorer. Once you see your file, click on the + to expand, and you may see "Module1". If you see this, this is the cause. Right-click on it, and remove.

  5. #5
    Forum Contributor
    Join Date
    01-01-2006
    Posts
    122
    Thank you very much Jason that was the ticket

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1