Remove Macro??

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
On 2002-09-29 18:25, brindha_shree wrote:
Hi,
Is it posibble to remove a macro?If yes how to remove?

Regards,
Brindha

Hi Brindha:

Welcome to the Board!

How about activating TOOLS|MACRO ... then identify the Macro and DELETE

Would that do? If not, please post back with some more details and let us take it from there.

Regards!

Yogi
 
Upvote 0
Thanks..
It works..But when i try to reopen the spreadsheet again, i keep getting the message either I want to enable/disable the macros....
 
Upvote 0
Excel stores macros in modules. If you delete a / all macros from a module, the module itself is not deleted. excel will send the 'enable macrs' alert when it detect a moidule, even if the module is empty.

So,

1) open the workbook
2) hit ALT + F11 to open the VBA editor
3) Find the entry for your workbook & select the 'Module' entry.
4) Delete the 'Module'

Paddy
 
Upvote 0
On 2002-09-29 18:53, brindha_shree wrote:
Thanks..
It works..But when i try to reopen the spreadsheet again, i keep getting the message either I want to enable/disable the macros....

Hi Brindha:

Even though the macro has been deleted, reference to its preexistence, e.g. the module it was in remains and that is what VBA is referring to it.

To alleviate getting the undesirable message, you will have to remove the remnants of the macro via the the VBA project window ... e.g. you may have to delete the module in which the deleted macro once resided.

I hope this helps.

Regards!

Yogi
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,710
Members
448,293
Latest member
jin kazuya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top