Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Dec 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    New Defaults Template (Word 2003)

    Screeeaaaammmm!
    I am trying to create a template to put in the startup folder to modify the default font and page margins but not alter Normal.dot. I've tried AutoExec etc macros but these only change the first new document (on starting Word) any more new documents return to the standard default settings. They also tell Word that the document has been edited prompting a save window even when nothing has been typed. I've had a brief play with "Document Events" (?) but these only worked with the one document. It seems to me this should be so simple (maybe it is!) . Any help as to which way to go would be gratefully received.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: New Defaults Template (Word 2003)

    An AutoExec macro is only executed once, when the user starts Word.

    When the user creates a blank new document from within Word, it is based on Normal.dot. You can create a document-level NewDocument event handler to test if the new document is based on Normal.dot and if so, process it. See <post#=320550>post 320550</post#> for an example of how to create a NewDocument handler. Note: for a global template, use AutoExec (in a standard module) instead of Document_Open (in ThisDocument) to initialize the application variable, for Document_Open is not run in a global template.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: New Defaults Template (Word 2003)

    What is the reason for not modifying Normal.dot? To avoid replacing user customizations? I think you have at least a couple of options.

    First, provide a simple way for users to create new documents based on your desired template, rather than using Ctrl+N.

    Second, it might be possible to sneak the changes into Normal.dot temporarily for the session only, without marking it as an update. In this scenario, you would sense the blank document that Word creates at open, change the fonts and margins and mark those changes to go into the template, then mark the document and Normal.dot as .Saved = True to prevent the change from triggering a prompt.

  4. #4
    Lounger
    Join Date
    Dec 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: New Defaults Template (Word 2003)

    Yes. The idea is that a staff member can try out my new template - I want it to do more than just change the font and margins - then if they don't like it or feel they don't need my "improvements" they can just delete it from the Startup folder and they're back where they were using any changes they may have made to Normal.dot. It may be that what I am asking is just too much for Word to handle, so I may have to revert to modifying Normal.dot, maybe backing it up first, but I do feel this should be possible.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: New Defaults Template (Word 2003)

    Assuming this is a networked environment, another option would be to create a folder on a server and assign the user's Workgroup Templates path to that folder. Then, from File>New... they could create a new document based on that template (it would be behind whatever new tab is added).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •