Can't get rid of macros

  • Thread starter Thread starter R Titterton
  • Start date Start date
R

R Titterton

I have written some simple macros in a worksheet. I have then deleated
them, however when I open the file I get the standard security warning
message about macros, asking whether I wish them enabled or disabled.
Without changing the default security settings to disable this feature, how
can I strip the file of the offending macro so that the warning does not
come up?

Robt
 
You need to remove the module they were in, open the workbook in question,
press Alt + F11. In the project pane to the left find your workbook, right
click the module(s),
select remove module and when prompted to export answer nay. Repeat if there
are more than one.
Press Alt + Q to close the VBE. save the file
 
Robt, You also have to remove the modules on which the macros were stored
have a look here for details
http://www.contextures.com/xlfaqMac.html#NoMacros

--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top