ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Removing disabled Macro (https://www.excelbanter.com/excel-worksheet-functions/263285-removing-disabled-macro.html)

nadine

Removing disabled Macro
 
I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


Gary''s Student

Removing disabled Macro
 
You need to remove the Modules as well as the macros they used to contain.
--
Gary''s Student - gsnu201002


"Nadine" wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


nadine

Removing disabled Macro
 
OK. How do I do that?

"Gary''s Student" wrote:

You need to remove the Modules as well as the macros they used to contain.
--
Gary''s Student - gsnu201002


"Nadine" wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


Luke M[_4_]

Removing disabled Macro
 
Open the VBE. In the VBAProject explorer window, navigate to the module.
Right-click on it, "Remove", and choose not to export it (I'm assuming).

--
Best Regards,

Luke M
"Nadine" wrote in message
...
OK. How do I do that?

"Gary''s Student" wrote:

You need to remove the Modules as well as the macros they used to
contain.
--
Gary''s Student - gsnu201002


"Nadine" wrote:

I had been playing with some macros in a book I have. I didn't think I
had
saved any of them. Now when I open that workbook, I get a message that
says
macros are disabled because the security level is set to High... I'd
like to
delete these macros that somehow got stored but when I go to Tools,
Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with
and
don't want to keep? Thank you.




Gary''s Student

Removing disabled Macro
 
In the Project pane in the VBA Window, right-click the Module and select
Remove module.
--
Gary''s Student - gsnu201002


"Nadine" wrote:

OK. How do I do that?

"Gary''s Student" wrote:

You need to remove the Modules as well as the macros they used to contain.
--
Gary''s Student - gsnu201002


"Nadine" wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


Dave Peterson

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

Nadine wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


--

Dave Peterson

nadine

Removing disabled Macro
 
Thank you.

"Dave Peterson" wrote:

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

Nadine wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


--

Dave Peterson
.


bala_vb

Quote:

Originally Posted by Nadine (Post 952016)
Thank you.

"Dave Peterson" wrote:

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

Nadine wrote:

I had been playing with some macros in a book I have. I didn't think I had
saved any of them. Now when I open that workbook, I get a message that says
macros are disabled because the security level is set to High... I'd like to
delete these macros that somehow got stored but when I go to Tools, Macros,
Macros the option to Delete one is not visible - it is grayed out.

Does anyone know how to remove these macros that I was fiddling with and
don't want to keep? Thank you.


--

Dave Peterson
.

one of the quickest way to disable/restrict the macros is

Saveas macro disable workbook.

Your macros will be automactically removed and disabled as well.


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com