starting word from a macro with a Template other than Normal.dot

  • Thread starter Jeffery B Paarsa
  • Start date
J

Jeffery B Paarsa

Hello,

Can anybody help me on how to start and open a new Word document using a
newly defined template other than Normal.dot? I tried net start winword
<xxxx.dot but did not work only a new word was opened using Normal.dot.
 
G

Graham Mayor

Drag a shortcut to the template to the desktop. By default Word will open a
new document based on that template.
Note Normal.dot is an essential system file and cannot be replaced with
something else.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Jeffery B Paarsa

Thank you for the response. But I wanted to start the word in batch mode as
a command from a Macro either in VB or Word itself. On a Dos command prompt
if you issue start winword, word will be started with a new blank document
using template Normal.dot. Now how can I force Word does not use Normal.dot
as template but uses the template that I want to be used.
 
J

Jezebel

Word command-line switches ---

/a Starts Word without a template (including startup addins) Word 6 only
Starts Word without a template (including startup addins) or options stored
inthe registry, Word 95, 97, & 2000. only
/c Starts Word and runs Netmeeting. Word 2000 only.
/l Load a specific addin Word 95, 97, & 2000 only
/n No new default document
/m Runs a macro [/mmacroname] or prevent autoexec from running [/m] Word
6, 95, 97, & 2000.
Run a macro [/mmacroname] Word 1 & 2 only
Cannot be used with the /t switch
/q [Added in Word 2000 SR1] (quiet start) will suppress the opening
splash screen.

/r shorthand for /regserver
/u shorthand for /unregserver
Both work in Word (but not in Excel), i.e. in Word 97 and 2000.
(MS lists /u as 'no effect' for Word 2000 though.)
/t Bases a new document on the specified document Word 95, 97, & 2000.
Starts the Tutorial Word 1 only
/w Without displaying Tip Of The Day Word 6 only
Starts a new instance of Word. Word 2000 only.
/x Starts a new instance of Word that only accepts one DDE conversation.
Used by the Windows shell for printing. Word 97 & 2000.
 
G

Graham Mayor

See Word Help on 'starting word' for the switches available and their uses.

From a DOS command use a startup switch eg

winword /t"D:\Word Templates\Letter Heads\Envelope #10.dot"

As for wanting to start Word from within Word - you'll have to explain that
one? But to create a new document from vba with Word running and using a
particular template, you need the vba command

Documents.Add ("D:\Word Templates\Letter Heads\Envelope #10.dot")


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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Jeffery B Paarsa

Thank you for the advice it worked... I really don't have to start word from
within word but I was thinking I may need to start word from a macro runing
after starting the word... but I can circle around it.
 
J

Jeffery B Paarsa

Thank you for the advice. I got my answer for what I was trying to do.
winword /t"D:\Word Templates\Letter Heads\Envelope #10.dot"

--
Jeff B Paarsa


Jezebel said:
Word command-line switches ---

/a Starts Word without a template (including startup addins) Word 6 only
Starts Word without a template (including startup addins) or options stored
inthe registry, Word 95, 97, & 2000. only
/c Starts Word and runs Netmeeting. Word 2000 only.
/l Load a specific addin Word 95, 97, & 2000 only
/n No new default document
/m Runs a macro [/mmacroname] or prevent autoexec from running [/m] Word
6, 95, 97, & 2000.
Run a macro [/mmacroname] Word 1 & 2 only
Cannot be used with the /t switch
/q [Added in Word 2000 SR1] (quiet start) will suppress the opening
splash screen.

/r shorthand for /regserver
/u shorthand for /unregserver
Both work in Word (but not in Excel), i.e. in Word 97 and 2000.
(MS lists /u as 'no effect' for Word 2000 though.)
/t Bases a new document on the specified document Word 95, 97, & 2000.
Starts the Tutorial Word 1 only
/w Without displaying Tip Of The Day Word 6 only
Starts a new instance of Word. Word 2000 only.
/x Starts a new instance of Word that only accepts one DDE conversation.
Used by the Windows shell for printing. Word 97 & 2000.




Jeffery B Paarsa said:
Hello,

Can anybody help me on how to start and open a new Word document using a
newly defined template other than Normal.dot? I tried net start winword
<xxxx.dot but did not work only a new word was opened using Normal.dot.
 
C

Charles Kenyon

You could create a shortcut to your envelope template and use that shortcut
to start Word.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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