I created a new Word template (in Word 2002), and I
would like a macro to run automatically when the user
creates a new document from the template. The macro is
attached to the template, and I named the macro:
Document_New
The macro runs automatically (and does what I want it
to do) when I open the template. But the macro does not
automatically run when I create a new document from the
template.
What do I have to do to get the macro to run
automatically?

Re: Triggering a macro to run when a template is used to create a new document by Steve

Steve
Fri Jul 02 09:41:16 CDT 2004

Hi Mark,

Answered in Beginners.

Steve

"marc@marchankin.com" <anonymous@discussions.microsoft.com> wrote in message
news:24e8a01c45fd1$e430e630$a401280a@phx.gbl...
> I created a new Word template (in Word 2002), and I
> would like a macro to run automatically when the user
> creates a new document from the template. The macro is
> attached to the template, and I named the macro:
> Document_New
> The macro runs automatically (and does what I want it
> to do) when I open the template. But the macro does not
> automatically run when I create a new document from the
> template.
> What do I have to do to get the macro to run
> automatically?
>