Still getting "Enable Macros" prompt

T

Tony Starr

I have a word document that I have removed all the vba code and controls
from yet word still prompts me if I want to enable macros when I open it..
How can I get rid of this prompt?
How can I tell word that the document no longer contains macros?

TIA
Tony
 
M

macropod

Hi Tony,

You'll also need to remove any macro modules that the macros previously resided in. To do this, open the document, then the vbe.
Select each module in turn and choose File|Remove Module to delete it.
 
T

Tony Starr

Thanks,

I had already removed the modules but after reading your post I went and
double checked.
When going into vbe, word prompted me for a password as I still had the vba
project password protected ebvn though it no longer had any code.
Removing the password on the vba project did the trick.

Cheers
Tony



macropod said:
Hi Tony,

You'll also need to remove any macro modules that the macros previously
resided in. To do this, open the document, then the vbe. Select each
module in turn and choose File|Remove Module to delete it.

--
Cheers
macropod
[MVP - Microsoft Word]


Tony Starr said:
I have a word document that I have removed all the vba code and controls
from yet word still prompts me if I want to enable macros when I open it..
How can I get rid of this prompt?
How can I tell word that the document no longer contains macros?

TIA
Tony
 
Top