Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Iowa, USA
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word2K - Prompt to overwrite Normal.DOT

    I've got a client who is being prompted to overwrite her Normal.DOT file when she exits Word 2000 (sometimes).

    I've checked her hard drive and she has only one Normal.DOT file. The File Locations within Word is pointing to that one file. She's not being prompted to save changes, it's telling her that the file already exists and does she want to overwrite it.

    I searched the MS Knowledge Base site and came up with nothing. Any ideas?

    Thanks!
    Sue

  2. #2
    New Lounger
    Join Date
    Mar 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    I've quite a different problem with saving normal.dot in word2k - but at least the topic sounds equal, thats why i place it here.

    Word2000: By closing Word you have either the possibility to be prompted to save normal.dot (Tools-Options-Save-Prompt to save normal Template[checked]) or the template will be saved without me being asked.

    What I need, is a commend sequence (or a macro), which makes it possible to close Word without saving normal.dot regardless whether the template has been changed or not.
    Can anyone help me?

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    Well, here's a good place to start:

    Tools>Options>Save>Prompt to Save Normal template
    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>

  4. #4
    Star Lounger
    Join Date
    Jan 2001
    Location
    Iowa, USA
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    The command to close a document without saving changes is:
    ActiveDocument.Close SaveChanges:=

    The SaveChanges options can be one of the following WdSaveOptions constants: wdDoNotSaveChanges, wdPromptToSaveChanges, or wdSaveChanges.

  5. #5
    Star Lounger
    Join Date
    Jan 2001
    Location
    Iowa, USA
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    That option is already off. She is not being prompted to SAVE changes to the Normal.dot, she is being prompted about OVERWRITING the Normal.dot. Not the same thing.

  6. #6
    New Lounger
    Join Date
    Mar 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    If you do not check the [Tools-options-save-prompt to save normal template] Word2000 is saving normal.dot (like i wrote before - just without any dialogue).

    So what i would prefer is not saving normal.dot. The only way I know is with the dialogue (which you can turn on/off like you wrote) and then clicking on "no". Is there no "automatic" method (I'm not editing normal.dot)?

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    Let me ask you this: does the user in question share this PC with other users who also use Word?

    The reason I ask is your problem seems related to others dealing with corrupted Normal.dot files. Of course, Normal gets corrupted other ways too. But try this:

    Exit Word. Find the Normal.dot file for the user in question and copy it somewhere under another name. Delete all Normal.dots on the local drives. Restart Word and then exit again. Does Word prompt to overwrite Normal now?
    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>

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    You can try putting this code in a close event:

    Normaltemplate.Saved = true
    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>

  9. #9
    New Lounger
    Join Date
    Mar 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    Nice tip - But not the solution of this problem, i'm afraid!
    Does still save on changes (or ask), even if you place "NormalTemplate.Saved = True" in Close() and AutoExit().

  10. #10
    Star Lounger
    Join Date
    Jan 2001
    Location
    Iowa, USA
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    Kevin,

    That was my first thought. But the PC is not shared and there is only one Normal.dot file on the hard drive, which has been deleted (a couple of times). The other freaky thing is that it doesn't happen all the time and I haven't figured out any consistancies about when it does/doesn't. There are no macros in the Normal.dot. The only thing I can think of is to remove and reinstall Word, but I don't really want to do that if I don't have to.

    I have a vague recollection of having dealt with this before but no memory of what the problem ended up being or how I fixed it.

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    Just to add a couple of thoughts:

    If for some reason Word is not shutting down properly, it might leave an open temp file for Normal.dot, or possibly even an instance of Word still running - might be worth checking for these when the problem occurs.

    Also as was discussed in a recent thread (on the Ikonboard forum - now gone), turning off the prompt to save Normal.dot is not a good idea, whether done via options or via code. Actually Kevin I think you were in on that one - I agreed with you regarding saving attached template via code, but Dave A. came in with a brimstone warning against saving Normal.dot that way - and I have to agree with him - no?

    Gary

  12. #12
    Star Lounger
    Join Date
    Jan 2001
    Location
    Iowa, USA
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    Pat,

    As I understand it, Word gives you 2 choices: 1) Save Normal.DOT with changes or 2) Prompt to save changes, to which you can say "No".

    There's no built-in way to automatically not save changes. You'd have to write an AutoExit macro that closed Word without saving the Normal.DOT, I'd think.

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    Just a note: I need to make sure every user has the same styles, page settings, etc. for Normal documents, so my code opens Normal as a document (if the changes have not been applied), copies styles from a template, makes default changes then saves it on the close. This works just fine, so programmatically altering Normal does not seem like a danger zone, if that is what you are referring to.

    You've got a good point about the normal temp file. Sue, is there a ~$normal.dot file that still exists after the user exists Word? How about any other Word created ~$ files. Delete 'em all.

    One other idea. Open Normal.dot and save it. Exit Word. Open Word and exit. Still prompted?
    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>

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

    Re: Word2K - Prompt to overwrite Normal.DOT

    Have you checked Normal or any global templates for a virus. I don't mean to insult your intelligence, but I'm always overlooking the obvious myself.
    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>

  15. #15
    New Lounger
    Join Date
    Mar 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word2K - Prompt to overwrite Normal.DOT

    That's what i'm thinking about in the meantime - but i couldn't find a way to trick W2k not to save the normal.dot file if there has occured a change. Do you know how to do that? Thanks!

Page 1 of 2 12 LastLast

Posting Permissions

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