Macro security warning but no macros

S

SueG

Hi. When I open a particular document in Word 2007 I get the macro security
warning message appear but when I try to view the macros in the file the list
is blank. Can anyone help please?
Thanks
 
S

Stefan Blom

Open the Visual Basic Editor (press Alt+F11). If you see module names, for
example Module1, in the current file, then you will get the macro warning,
even if the module doesn't contain any code. You should be able to delete
the modules (right-click and choose Remove <module name> from the context
menu). If you are prompted to export the module, choose to do so.
 
S

SueG

I can't see any but I'm not sure if I'm looking in the right place. Please
can you give me a bit more detail?
Thanks
 
S

SueG

Found Module1. Where do I export it to please?

Stefan Blom said:
Open the Visual Basic Editor (press Alt+F11). If you see module names, for
example Module1, in the current file, then you will get the macro warning,
even if the module doesn't contain any code. You should be able to delete
the modules (right-click and choose Remove <module name> from the context
menu). If you are prompted to export the module, choose to do so.
 
S

Stefan Blom

Hmm, I forgot to mention the easiest fix: Using Office button | Save As,
save the document in "Word Document (*.docx)" format. That will clear any
macro code.
 
S

Stefan Blom

You can convert it back to Word 2003 format after you've successfully
cleared the code.
 

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