Remove Macro??

Some videos you may like

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
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
 

brindha_shree

New Member
Joined
Sep 23, 2002
Messages
23
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....
 

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
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
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
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
 

Watch MrExcel Video

Forum statistics

Threads
1,127,661
Messages
5,626,155
Members
416,164
Latest member
hamburger138

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
Top