View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Horatio J. Bilge, Jr. Horatio J. Bilge, Jr. is offline
external usenet poster
 
Posts: 24
Default No macros, but still prompted to enable them

I have a file that prompts me to enable macros when I open it, even though
there are no macros in the file.

It was created with a template, and the template had an AutoNew() sub, but
the last line of the AutoNew() sub was supposed to remove the macros:
ActiveDocument.AttachedTemplate = NormalTemplate

Now when I open the file, I am prompted to enable macros. In the visual
basic editor, all that appears is "ThisDocument" with no code, and "Reference
to Normal."

Where is the macro warning coming from?

~ Horatio