Results 1 to 12 of 12
  1. #1
    Lounger
    Join Date
    Mar 2002
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Prompt to Save Templates

    Whenever I close a changed document, I am prompted to save the template that it is based on. For example, I create a new letter based on the letterhead.dot template, and when I save/close it, I also get a box asking whether I want to save letterhead.dot.

    Apart from being very annoying, if I make changes in a particular letter, I don't want them saved in the master template.

    Is there a way to turn this off? I turned off the "Prompt to save normal.dot" but it had no effect. I'm running W2K with SP1 on a Windows 2000 system.

    Brett

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Prompt to Save Templates

    Brett,

    Here's a possible cause: if you're using the built-in Letter Wizard to create your new letters, you will likely get a prompt to save the global template, due to a design feature of the Letter Wizard.

    The Letter Wizard prompts you for various entries and then places these in your letter. It then makes these entries available for future use (right click with the cursor on any of the entries in the letter). It does this by saving your entries as Autotexts, and inserting the entries using AutoTextList fields (Alt+F9 to see the field codes).

    A bit of testing indicates that these autotext entries are being saved automatically to Normal.dot. So every time you create a unique entry, you will get the prompt. It is kind of annoying - perhaps the Letter Wizard could have been designed to store the data a different way.

    In any case, never turn off the "Prompt to Save Normal Template" setting - leaving this on is an important defense against viruses (yeah, and then MS designs its wizards to trigger this prompt, without explanation!).

    Well, that's one plausible explanation for the prompt you're getting. If you're not using one of the built-in wizards, then back to the drawing board (although it is possible that a custom-designed template could be doing something similar).

    Hope this helps,
    Gary

  3. #3
    Lounger
    Join Date
    Mar 2002
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prompt to Save Templates

    <sigh>

    Unfortunately, I'm not (and have never used) the Letter Wizard. I don't think it's anything in the template, since I get the prompt with documents created with *all* templates (except, interestingly enough, normal.dot!)

    Any other suggestions? Please?

    Brett

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prompt to Save Templates

    See, it's too bad the old posts are history 'cuz this question has been answered several times. A quick search would have found this one. But, since it appears no archive is forthcoming, it's my pleasure to offer this solution:

    put activedocument.attachedtemplate.saved = true

    at the end of your initialize event (or autoexit or a more appropriate place as per your discernment). I'm not sure what causes Word to do this, but this solution works.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  5. #5
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Prompt to Save Templates

    Tough one. Are all these templates ones that came with Word, or were they built by you or someone else?

    Another question: do you have any other global templates or add-ins running? (Look at Tools>Templates and Add-Ins.)

  6. #6
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Prompt to Save Templates

    Thanks, Kevin - good idea.

    The place to put this would be in a Document_Close procedure, in the attached template's own This Document module.

  7. #7
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Prompt to Save Templates

    Be very careful of anything that does a AUTO SAVE to the Global settings. You may not like what has beeen changed in your Normal.dot template. I have even seen some of the macros and scripts over written by these autosaves.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  8. #8
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Quakertown, PA, Pennsylvania, USA
    Posts
    517
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prompt to Save Templates

    One reason could be that you are using templates originally created in Word 97 in Word 2000. If you have not yet said Yes to save them, you should do so. The next time you use them you should not be asked again. Another reason is that you are using a template with styles and that style is set (under Format-Styles-Modify) to "Add to template" and "Automatically update". In other words, if you've got style Heading 1, for instance, and have now used it in the new document (based on the template), and then decided you didn't want it bolded, so you unbolded it. This causes it to automatically update, and the template wants to save the style too. Hope this makes sense. (And hope my signature works--I hate when it doesn't and this is my first post on the new board.)

  9. #9
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Prompt to Save Templates

    Dave,

    I'd agree with you if the attached template being autosaved was Normal.dot - that would be dangerous and effectively would be the same as turning off the prompt to save Normal.dot.

    In this case though, dealing with attached templates other than Normal.dot, it seems a safe enough workaround, no?

    Gary

  10. #10
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Prompt to Save Templates

    Could this make changes to the attached template, if so will the changes ALWAYS be wanted to be saved? If NOT then it is just like the autosave of the normal template, you would end up with some thing that you do NOT want in your template.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  11. #11
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prompt to Save Templates

    Hi Gary & Dave:
    I don't think this will cause a prompt to save a template. You can't set both Automatically update & Add to Template for a style. You can only set the former.

    Format/Style/Modify/Automatically update means that your document style will change whenever you manually format a paragraph. That should not cause a change in a template.

    Format/Style/Modify/Add to template won't stay checked. It's a way to copy a document style to a template. That will cause a prompt to save the template, but only the one time you use it.

    Like Dave, I tend to stay away from "automatic" changes. It's only useful when you are developing new styles & are experimenting. Rather than have to add manual formatting, click in the dialog box & press <enter>, each time you make a change (& then tell Word you don't want to reapply the style), you only have to apply manual formatting. It then updates all the paragraphs that have that style. After it's served it's usefullness, I think it's best to turn it back off.

    Anyhow, I think the original poster (I can't see who it was because there's no split screen<g> should look to see if there's an add-in or macro that's causing the changes.

    Hope this helps.

  12. #12
    crudd
    Guest

    Re: Prompt to Save Templates

    Chances are you have a rogue Autoexec macro - look for Autoexec/autonew/autoopen macros in your template's projects.

Posting Permissions

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