Word 2007 macros won't work in document saved from template

D

Dale

Hello
Am I doing something wrong? I have macros disabled with notification
turned on,
this works fine in a dot file with macros: warning when opening the
template, user clicks on enable macros and all is fine. When opening a
document
created from the template, the macros don't work: nor does the
notification message appear, only a msgbox warning when a macro is
triggered "macros in this project have been disabled, refer
to online documentation or help etc etc etc"

How do I get the macros in the "doc" file to work the same way as when
it was created from the "dot" file with the working macros. Or if they
are
associated with the "doc" file, how do I turn them on.

If I use the enable all macros option, it does work but I wanted to
retain
the enable with notification option.

thanks
--
 
G

Graham Mayor

The installation default document format for Word 2007 docx. Docx does not
support macros. You would have to save as Word97-2003 format doc or docm.
Similarly the default template format is dotx, which again does not support
macros. You would have to save a template as Word 97-2003 format dot or
dotm.

For macros to work in a document, they must be saved in the document or if
they are saved in its template that template must also be available to the
user.

It is generally preferable for macros to be saved in the document template
(or an add-in).

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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