#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Macro won't go away!

I've deleted a macro from a workbook that didn't work correctly. It's the
only macro in the workbook. And I know it's gone because the macro list is
now empty. But whenever I open the file, I'm still confronted with the
message box that asks me whether I want to disable or enable the macros.
Can anyone tell me how to make this message go away?

thanks much
Arsenio


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default Macro won't go away!

Press <Alt<F11 to go to VBA. Find your file and double click on it. You
will notice that although the macro has been deleted, the module which housed
the macro is still there. Click on File|Delete Module, answer No to the
question whether you want to export the macro, and it will be deleted.

"Arsenio Oloroso" wrote:

I've deleted a macro from a workbook that didn't work correctly. It's the
only macro in the workbook. And I know it's gone because the macro list is
now empty. But whenever I open the file, I'm still confronted with the
message box that asks me whether I want to disable or enable the macros.
Can anyone tell me how to make this message go away?

thanks much
Arsenio



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Macro won't go away!

When you record a macro, Excel creates a module in which the code is
stored. When you delete the macro, the module is not automatically
deleted. There are instructions here for finding and removing code:

http://www.contextures.com/xlfaqMac.html#NoMacros

Arsenio Oloroso wrote:
I've deleted a macro from a workbook that didn't work correctly. It's the
only macro in the workbook. And I know it's gone because the macro list is
now empty. But whenever I open the file, I'm still confronted with the
message box that asks me whether I want to disable or enable the macros.
Can anyone tell me how to make this message go away?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Macro won't go away!

Debra Dalgleish shows how to clean up all the remnants of macros:
http://www.contextures.com/xlfaqMac.html#NoMacros

Arsenio Oloroso wrote:

I've deleted a macro from a workbook that didn't work correctly. It's the
only macro in the workbook. And I know it's gone because the macro list is
now empty. But whenever I open the file, I'm still confronted with the
message box that asks me whether I want to disable or enable the macros.
Can anyone tell me how to make this message go away?

thanks much
Arsenio


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Macro won't go away!

thanks so much to all who responded!


"kassie" wrote in message
...
Press <Alt<F11 to go to VBA. Find your file and double click on it.
You
will notice that although the macro has been deleted, the module which
housed
the macro is still there. Click on File|Delete Module, answer No to the
question whether you want to export the macro, and it will be deleted.

"Arsenio Oloroso" wrote:

I've deleted a macro from a workbook that didn't work correctly. It's
the
only macro in the workbook. And I know it's gone because the macro list
is
now empty. But whenever I open the file, I'm still confronted with the
message box that asks me whether I want to disable or enable the macros.
Can anyone tell me how to make this message go away?

thanks much
Arsenio





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error when running cut & paste macro Otto Moehrbach Excel Worksheet Functions 4 August 9th 06 01:49 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Search, Copy, Paste Macro in Excel [email protected] Excel Worksheet Functions 0 January 3rd 06 06:51 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Highlight Range - wrong macro, please edit. Danny Excel Worksheet Functions 8 October 19th 05 11:11 PM


All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"