Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How can I delete a macro in excel?

I had created a button in excel, which created a macro. I decided not to
keep the button so I deleted it, assuming that the macro would be deleted as
well. I saved the file and closed it. However, on reopening it, I received
an error message because my security level is set so that macros will not
run. I do not want to change the security level, so I went to
Tools--Macros--Macros (or Alt-F8) to delete the macro. The macro is there
but it will not let me delete nor edit it. These options are not highlighted
for me to choose? How can I get rid of this macro? The button the macro was
created for is already gone, and I cannot redo the spreadsheet. Any advice?

Thanks,
Katzy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How can I delete a macro in excel?

Just select the macro and delete. If it is in a code module *not a sheet or
ThisWorkbook), remove the module as well (FileRemove Module)

--
HTH

Bob Phillips

"katzy" wrote in message
...
I had created a button in excel, which created a macro. I decided not to
keep the button so I deleted it, assuming that the macro would be deleted

as
well. I saved the file and closed it. However, on reopening it, I

received
an error message because my security level is set so that macros will not
run. I do not want to change the security level, so I went to
Tools--Macros--Macros (or Alt-F8) to delete the macro. The macro is

there
but it will not let me delete nor edit it. These options are not

highlighted
for me to choose? How can I get rid of this macro? The button the macro

was
created for is already gone, and I cannot redo the spreadsheet. Any

advice?

Thanks,
Katzy



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
Excel Delete VB Macro Ty Excel Worksheet Functions 9 August 10th 09 03:31 PM
How do i delete a macro in Excel 2003 when delete isn't highlight Abel Excel Discussion (Misc queries) 2 September 13th 05 04:09 AM
I need a macro that will delete every other row in excel. Russ T Excel Programming 1 December 14th 04 06:52 PM
Delete records using excel Macro Ken Wright Excel Programming 1 November 3rd 03 08:01 PM
Delete records using excel Macro Nick Hodge[_4_] Excel Programming 0 November 3rd 03 07:31 PM


All times are GMT +1. The time now is 04:44 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"