Launching Code on Document_Open() in Word template

C

CKBlack007

I have been tying my code to execute on the opening of the document in
Word 2000 (a restriction unfortunately until they go Word 2007). The
code is not complex, and runs fine on opening the doc as designed;
however, when I convert the doc to a word template, the code does not
execute on using the template. The code does, of course, keep with
the new document that is created from template and therefore executes
when that saved document is re-opened. I need to have the template
execute the code on template opening as well. I did my college try at
the research materials to see what, if anything, I was overlooking to
no avail.

Can anyone share with me what I have overlooked in having code execute
on template document open in word?

Thanks in advance,

Chris
 
C

CKBlack007

Ugh! Nevermind. I just needed the exercise and embarassment of a
public posting to make me think through it. <sheepishly going to get
some coffee>

For anyone that found this by Google, the answer was to place the code
in Document_New()
 

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