Get rid of security warning

G

Guest

Hello,
I have removed all macros from a particular file. However, when you open
the file, a security warning comes up with the message "c:\file.xls contains
macros." How do I get rid of this warning?

Thanks,
Ellen
 
G

Guest

If you go into the VBE and look at the project explorer window for that
workbook, under Modules, do you see any entries. If so, you need to remove
the modules as well. (right click on the module name in the project explorer
and choose remove)

If you then save the workbook, close it, reopen and still get the prompt,
then

using the project explorer again, open each entry (sheet modules,
thisworkbook module)
Do ctrl+a to select everything in the module, hit the delete key, close
these modules using the x in the upper right of the module window. Save and
close the workbook,
 
O

okrob

Hello,
I have removed all macros from a particular file. However, when you open
the file, a security warning comes up with the message "c:\file.xls contains
macros." How do I get rid of this warning?

Thanks,
Ellen

You *may* still have named ranges in the file. Get rid of them and
see if that does anything for you.
 
G

Guest

Thanks, Tom. It worked!!!

Tom Ogilvy said:
If you go into the VBE and look at the project explorer window for that
workbook, under Modules, do you see any entries. If so, you need to remove
the modules as well. (right click on the module name in the project explorer
and choose remove)

If you then save the workbook, close it, reopen and still get the prompt,
then

using the project explorer again, open each entry (sheet modules,
thisworkbook module)
Do ctrl+a to select everything in the module, hit the delete key, close
these modules using the x in the upper right of the module window. Save and
close the workbook,
 

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

Top