Automating the use of a startup template

  • Thread starter christophercbrewster via OfficeKB.com
  • Start date
C

christophercbrewster via OfficeKB.com

I was asking about the behavior of templates and AutoExec macros. I've since
learned that AutoExec needs to be in Normal.dot. So I'm wondering how to make
a Startup template do what I need. The following steps would be needed.

1. A script loads the template in Startup, AND activates it in Word.

2. The script adds an AutoExec macro to Normal.dot

3. The AutoExec primarily runs a macro from the template in the Startup
folder, and this does what my current AutoExec does.

I know step 1 can be done (but not how to do it). The second and third I'm
not sure about. Are they possible?

--
Christopher Brewster
Lockheed Martin, Eagan MN

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200905/1
 
D

Doug Robbins - Word MVP

Your script should not add a macro to Normal.dot. Rather, you should have
an autoexec macro with whatever code you wanted to add to Normal.dot in a
template that you save in the Word Startup folder which depending upon the
version of Windows that you are running under will either be at

C:\Documents and Setttings\[user name]\Application
Data\Microsoft\Word\Startup

or

C:\Users\[user name]\App Data\Roaming\Microsoft\Word\Startup

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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