Microsoft KB Archive/70025

Starting Word for Windows with Alternate Template Macro

PSS ID Number: Q70025 Article last modified on 02-24-1993

1.00 1.10 1.10a 2.00 2.00a WINDOWS

Summary: By default, Microsoft Word for Windows opens a new document based on the NORMAL template (NORMAL.DOT) when you start the program. You can have Word for Windows start with a new document based on another template, such as one of the letter templates.

More Information: To start Word for Windows with a new file based on a template other than NORMAL, follow these steps: 1. Select the Word for Windows icon in the Windows Program Manager. 2. From the File menu of Program Manager, choose Properties. 3. Add an /n switch to the command line parameter, as in the example below: Description: Microsoft Word Command Line: c:.exe /n Note: This command line will start Word for Windows without opening a document based on the default normal template. 4. From the Tools menu in Word 2.0 or 2.0a, choose Macro, type the following, then choose the Edit button: autoexec -or- From the Macro menu in Word 1.x, choose Edit, type the following, then choose the OK button: autoexec 5. In the macro-editing window, type the following macro: Sub MAIN FileNew .NewTemplate = 0, .Template = “letter” End Sub where “letter” can be substituted for any template in the Word for Windows program directory. Note: This macro will open a new document based on the template specified. 6. Exit Word for Windows and choose Yes when prompted to save global glossary changes.

Additional reference words: w4wmacro different 1.00 1.10 1.10a 2.00 w4wtemplate 2.00a